aboutsummaryrefslogtreecommitdiff
path: root/modules/arch/x86/tests/pushf-err.asm
diff options
context:
space:
mode:
Diffstat (limited to 'modules/arch/x86/tests/pushf-err.asm')
-rw-r--r--modules/arch/x86/tests/pushf-err.asm29
1 files changed, 29 insertions, 0 deletions
diff --git a/modules/arch/x86/tests/pushf-err.asm b/modules/arch/x86/tests/pushf-err.asm
new file mode 100644
index 0000000..13ea497
--- /dev/null
+++ b/modules/arch/x86/tests/pushf-err.asm
@@ -0,0 +1,29 @@
+[bits 16]
+pushf
+pushfw
+pushfd
+pushfq
+popf
+popfw
+popfd
+popfq
+
+[bits 32]
+pushf
+pushfw
+pushfd
+pushfq
+popf
+popfw
+popfd
+popfq
+
+[bits 64]
+pushf
+pushfw
+pushfd
+pushfq
+popf
+popfw
+popfd
+popfq