You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
199 B

# 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