From 2bd8f7c5a4a455d4447f111cc5fed90af76bf280 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Thu, 22 Sep 2022 13:04:12 -0700 Subject: Support comments in tests --- tests/countdown.hex | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/countdown.hex') 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 @@ -93 90 A3 03 -92 90 02 -92 90 FF 03 -91 90 00 -93 90 A4 00 +93 90 A3 03 # 0: r0 = 3 + 0 +92 90 02 # 4: emit r0 +92 90 FF 03 # 7: r0 = r0 - 1 +91 90 00 # a: jump 0 if r0 == 0 +93 90 A4 00 # d: jump 4 -- cgit v1.2.3