18 lines
299 B
ArmAsm
18 lines
299 B
ArmAsm
# expected: 00000004, 0000008, 00000014, 0000000B
|
|
.text
|
|
_start:
|
|
jal x31, step1
|
|
step1:
|
|
jal x31, step2
|
|
step4:
|
|
addi x31, x0, 0x00B
|
|
jal x0, finish
|
|
step2:
|
|
jal x31, step3
|
|
step3:
|
|
jal x0, step4
|
|
addi x31, x0, 0x00A # This instruction should never be executed
|
|
finish:
|
|
nop
|
|
|