sh-dis/tests/bt.s

8 lines
293 B
ArmAsm

SETT ; T is always 1
BF TRGET_F ; Does not branch, because T = 1
BT TRGET_T ; Branches to TRGET_T, because T = 1
NOP
NOP ; ← The PC location is used to calculate the branch destination
; address of the BT instruction
TRGET_T: ; ← Branch destination of the BT instruction