jandako
Chapucillas
- Registrado
- 18 Jul 2015
- Mensajes
- 134
- Puntos
- 18
- Edad
- 31
Hola gentecilla, alguno sabria explicarme que esta haciendo este codigo MIPS?
Parece sencillete pero estoy bastante pegado en esto :nusenuse:
.data
.globl main
.text
main:
li $a3 0xffff0000
CtLee: lw $t1 0($a3)
andi $t1 $t1 1
beqz $t1 CtLee
lw $t0 4($a3)
li $a3 0xffff0000
CvEscribe:
lw $t1 8($a3)
andi $t1 $t1, 1
beqz $t1 CvEscribe
sw $t0 12($a3)
li $v0 10
syscall
Parece sencillete pero estoy bastante pegado en esto :nusenuse:
.data
.globl main
.text
main:
li $a3 0xffff0000
CtLee: lw $t1 0($a3)
andi $t1 $t1 1
beqz $t1 CtLee
lw $t0 4($a3)
li $a3 0xffff0000
CvEscribe:
lw $t1 8($a3)
andi $t1 $t1, 1
beqz $t1 CvEscribe
sw $t0 12($a3)
li $v0 10
syscall