mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
21 lines
199 B
ArmAsm
21 lines
199 B
ArmAsm
|
# check the SET insn.
|
||
|
# mach: example
|
||
|
|
||
|
.include "testutils.inc"
|
||
|
|
||
|
start
|
||
|
JMP 3
|
||
|
HALT
|
||
|
|
||
|
SET r2, 2
|
||
|
EQ r3, r2, 2
|
||
|
JF r3, 2
|
||
|
SET r1, 1
|
||
|
EQ r3, r1, 1
|
||
|
JF r3, 2
|
||
|
SET r0, r2
|
||
|
EQ r3, r0, 2
|
||
|
JF r3, 2
|
||
|
|
||
|
pass
|