mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-11 19:49:32 +00:00
24 lines
324 B
ArmAsm
24 lines
324 B
ArmAsm
|
# relaxing conditional and unconditional jumps -- pc-relative
|
||
|
|
||
|
.globl text1
|
||
|
.section text1, "ax", @progbits
|
||
|
beq r2, r3, just_out_of_range
|
||
|
blt r2, r3, farther_out_of_range
|
||
|
bne r2, r3, in_range
|
||
|
nop
|
||
|
nop
|
||
|
in_range:
|
||
|
nop
|
||
|
.align 15
|
||
|
br in_range
|
||
|
just_out_of_range:
|
||
|
nop
|
||
|
nop
|
||
|
nop
|
||
|
nop
|
||
|
nop
|
||
|
nop
|
||
|
nop
|
||
|
farther_out_of_range:
|
||
|
nop
|