aboutsummaryrefslogtreecommitdiff
path: root/asmtest.S
diff options
context:
space:
mode:
authorbellard <bellard>2004-10-18 00:12:31 +0000
committerbellard <bellard>2004-10-18 00:12:31 +0000
commit62f99adb71f7715076e4f5ef0ed689443391ceba (patch)
tree9c8d3c0d0c2cb85f4727377fe2fb1be96f61ef4a /asmtest.S
parentaa7ef7919e16fba22d300978e8ac075ffeeadf99 (diff)
downloadtinycc-62f99adb71f7715076e4f5ef0ed689443391ceba.tar.gz
tinycc-62f99adb71f7715076e4f5ef0ed689443391ceba.tar.bz2
update
Diffstat (limited to 'asmtest.S')
-rw-r--r--asmtest.S16
1 files changed, 16 insertions, 0 deletions
diff --git a/asmtest.S b/asmtest.S
index eb60327..358a823 100644
--- a/asmtest.S
+++ b/asmtest.S
@@ -43,6 +43,8 @@ movl $2, 0x100(%ebx,%edx,2)
movl %eax, 0x100(%ebx,%edx,2)
movl 0x100(%ebx,%edx,2), %edx
movw %ax, 0x100(%ebx,%edx,2)
+
+mov %eax, 0x12(,%edx,2)
mov %cr3, %edx
mov %ecx, %cr3
@@ -520,6 +522,8 @@ int $0x10
bts %edx, 0x1000
btsl $2, 0x1000
+
+
boundl %edx, 0x10000
boundw %bx, 0x1000
@@ -540,3 +544,15 @@ int $0x10
verr 0x1000
verw 0x1000
+
+ push %ds
+ pushw %ds
+ pushl %ds
+ pop %ds
+ popw %ds
+ popl %ds
+ fxsave 1(%ebx)
+ fxrstor 1(%ecx)
+ pushl $1
+ pushw $1
+ push $1