diff options
Diffstat (limited to 'test-suite/standalone/sassy/tests/prims16/16with-win-lose5.scm')
-rw-r--r-- | test-suite/standalone/sassy/tests/prims16/16with-win-lose5.scm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test-suite/standalone/sassy/tests/prims16/16with-win-lose5.scm b/test-suite/standalone/sassy/tests/prims16/16with-win-lose5.scm new file mode 100644 index 000000000..efdb8a1af --- /dev/null +++ b/test-suite/standalone/sassy/tests/prims16/16with-win-lose5.scm @@ -0,0 +1,17 @@ +(bits 16) + +(text + (label foo (push bx)) + (with-win-lose + (jmp 1000) + (call foo) + (seq + (push ax) + (= cx 4)))) + +; 00000000 53 push bx +; 00000001 50 push ax +; 00000002 83F904 cmp cx,byte +0x4 +; 00000005 7503 jnz 0xa +; 00000007 E9DE03 jmp 0x3e8 +; 0000000A E8F3FF call 0x0 |