diff options
Diffstat (limited to 'tests/countdown.hex')
| -rw-r--r-- | tests/countdown.hex | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/countdown.hex b/tests/countdown.hex index 1185774..c1af1fb 100644 --- a/tests/countdown.hex +++ b/tests/countdown.hex | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | 93 90 A3 03 | 1 | 93 90 A3 03 # 0: r0 = 3 + 0 |
| 2 | 92 90 02 | 2 | 92 90 02 # 4: emit r0 |
| 3 | 92 90 FF 03 | 3 | 92 90 FF 03 # 7: r0 = r0 - 1 |
| 4 | 91 90 00 | 4 | 91 90 00 # a: jump 0 if r0 == 0 |
| 5 | 93 90 A4 00 | 5 | 93 90 A4 00 # d: jump 4 |
