aboutsummaryrefslogtreecommitdiff
path: root/tests/test-i386-code16.S
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-06-24 13:29:40 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-06-24 13:29:40 +0000
commitdd3587f38e5c0745896da6b7b058d0f88fff86a0 (patch)
treed3ff432dc866945804a323d67c334d6f32dafb7f /tests/test-i386-code16.S
parent7d83131cc5ea95d7bb98658ac958a901ba4269de (diff)
downloadqemu-dd3587f38e5c0745896da6b7b058d0f88fff86a0.zip
qemu-dd3587f38e5c0745896da6b7b058d0f88fff86a0.tar.gz
qemu-dd3587f38e5c0745896da6b7b058d0f88fff86a0.tar.bz2
iret and popl (%esp) tests
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@264 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tests/test-i386-code16.S')
-rw-r--r--tests/test-i386-code16.S17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/test-i386-code16.S b/tests/test-i386-code16.S
index 446f0d7..78ecc1f 100644
--- a/tests/test-i386-code16.S
+++ b/tests/test-i386-code16.S
@@ -77,4 +77,21 @@ myfunc2:
code16_end:
+
+
+/* other 32 bits tests */
+ .code32
+
+ .globl func_lret32
+func_lret32:
+ movl $0x87654321, %eax
+ lret
+
+ .globl func_iret32
+func_iret32:
+ movl $0xabcd4321, %eax
+ iret
+
+
+
\ No newline at end of file