Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .data
- num1: .word 432
- num2: .word 15
- .text
- la x8 num1
- la x9 num2
- beq x0 x0 MaxDir
- MaxDir:
- lw a0 0(x8)
- lw a1 0(x9)
- bgt a0 a1 mostrar1
- beq x0 x0 fin
- mostrar1:
- addi a0 x0 1
- li a7 1
- ecall
- beq x0 x0 fin
- fin:
- nop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement