mirror of
https://github.com/mupen64plus-ae/parallel-rsp.git
synced 2024-11-23 05:29:39 +00:00
23 lines
289 B
ArmAsm
23 lines
289 B
ArmAsm
.text
|
|
.set noreorder
|
|
.global main
|
|
main:
|
|
li $t0, -1
|
|
bgez $t0, taken1 # This will not be taken.
|
|
li $t2, 10
|
|
|
|
li $t0, 0
|
|
bgez $t0, taken1 # This will be taken.
|
|
li $t2, 20
|
|
|
|
li $t0, 1
|
|
bgez $t0, taken1 # This will be taken.
|
|
li $t2, 30
|
|
|
|
taken0:
|
|
li $t4, 5
|
|
break
|
|
taken1:
|
|
li $t4, 4
|
|
break
|