0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-12-02 10:37:52 +00:00
uxn/examples/condjump.usm

18 lines
210 B
Text
Raw Normal View History

2021-02-08 05:07:34 +00:00
( conditional jump )
|0100 @RESET
,06 ,05 GTH ,there ROT JMP? POP^
@here ( when lesser or equal )
,ee
BRK
@there ( when greater )
,ff
BRK
|c000 @FRAME BRK
|d000 @ERROR BRK
|FFFA .RESET .FRAME .ERROR