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
neauoire c2d0759588 *
2021-02-07 21:07:34 -08:00

17 lines
210 B
Text

( 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