0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-11-08 15:25:05 +00:00
uxn/examples/condjump.usm
2021-02-13 08:38:23 -08:00

17 lines
210 B
Text

( conditional jump )
|0100 @RESET
,06 ,05 GTH ,there ROT JMP? POP2
@here ( when lesser or equal )
,ee
BRK
@there ( when greater )
,ff
BRK
|c000 @FRAME BRK
|d000 @ERROR BRK
|FFFA .RESET .FRAME .ERROR