diff options
Diffstat (limited to 'test-suite/standalone/sassy/tests/prims16/16with-win2.scm')
-rw-r--r-- | test-suite/standalone/sassy/tests/prims16/16with-win2.scm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test-suite/standalone/sassy/tests/prims16/16with-win2.scm b/test-suite/standalone/sassy/tests/prims16/16with-win2.scm new file mode 100644 index 000000000..1ecda0ec4 --- /dev/null +++ b/test-suite/standalone/sassy/tests/prims16/16with-win2.scm @@ -0,0 +1,19 @@ +(bits 16) + +(text + (label foo (ret)) + (label bar (ret)) + (with-win bar + (if (= eax 3) + (push eax) + (with-win foo + (push ebx))))) + +; 00000000 C3 ret +; 00000001 C3 ret +; 00000002 6683F803 cmp eax,byte +0x3 +; 00000006 7505 jnz 0xd +; 00000008 6650 push eax +; 0000000A E9F4FF jmp 0x1 +; 0000000D 6653 push ebx +; 0000000F E9EEFF jmp 0x0 |