hexa fixup
This commit is contained in:
parent
690720e54d
commit
d0ef521917
@ -5,7 +5,6 @@ q1: .asciiz "Entrez un nombre"
|
|||||||
main:
|
main:
|
||||||
li $v0, 4
|
li $v0, 4
|
||||||
la $a0, q1
|
la $a0, q1
|
||||||
la $t9, hex
|
|
||||||
syscall
|
syscall
|
||||||
|
|
||||||
li $v0, 5
|
li $v0, 5
|
||||||
@ -16,6 +15,7 @@ main:
|
|||||||
divi:
|
divi:
|
||||||
div $v0, $t0
|
div $v0, $t0
|
||||||
mfhi $t2
|
mfhi $t2
|
||||||
|
la $t9, hex
|
||||||
addu $t9, $t9, $t2
|
addu $t9, $t9, $t2
|
||||||
lb $a0 0($t9)
|
lb $a0 0($t9)
|
||||||
li $v0, 11
|
li $v0, 11
|
Loading…
Reference in New Issue
Block a user