about summary refs log tree commit diff stats
path: root/subx/016jump_relative.cc
diff options
context:
space:
mode:
Diffstat (limited to 'subx/016jump_relative.cc')
-rw-r--r--subx/016jump_relative.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/subx/016jump_relative.cc b/subx/016jump_relative.cc
index 2d3bbb2b..061a947f 100644
--- a/subx/016jump_relative.cc
+++ b/subx/016jump_relative.cc
@@ -3,6 +3,7 @@
 //:: jump
 
 :(scenario jump_rel8)
+== 0x1
 # op  ModR/M  SIB   displacement  immediate
   eb                05                        # skip 1 instruction
   05                              00 00 00 01
@@ -24,6 +25,7 @@ case 0xeb: {  // jump rel8
 
 :(scenario je_rel8_success)
 % ZF = true;
+== 0x1
 # op  ModR/M  SIB   displacement  immediate
   74                05                        # skip 1 instruction
   05                              00 00 00 01
@@ -45,6 +47,7 @@ case 0x74: {  // jump rel8 if ZF
 
 :(scenario je_rel8_fail)
 % ZF = false;
+== 0x1
 # op  ModR/M  SIB   displacement  immediate
   74                05                        # skip 1 instruction
   05                              00 00 00 01
@@ -58,6 +61,7 @@ case 0x74: {  // jump rel8 if ZF
 
 :(scenario jne_rel8_success)
 % ZF = false;
+== 0x1
 # op  ModR/M  SIB   displacement  immediate
   75                05                        # skip 1 instruction
   05                              00 00 00 01
@@ -79,6 +83,7 @@ case 0x75: {  // jump rel8 unless ZF
 
 :(scenario jne_rel8_fail)
 % ZF = true;
+== 0x1
 # op  ModR/M  SIB   displacement  immediate
   75                05                        # skip 1 instruction
   05                              00 00 00 01
@@ -94,6 +99,7 @@ case 0x75: {  // jump rel8 unless ZF
 % ZF = false;
 % SF = false;
 % OF = false;
+== 0x1
 # op  ModR/M  SIB   displacement  immediate
   7f                05                        # skip 1 instruction
   05                              00 00 00 01
@@ -117,6 +123,7 @@ case 0x7f: {  // jump rel8 if !SF and !ZF
 % ZF = false;
 % SF = true;
 % OF = false;
+== 0x1
 # op  ModR/M  SIB   displacement  immediate
   7f                05                        # skip 1 instruction
   05                              00 00 00 01
@@ -131,6 +138,7 @@ case 0x7f: {  // jump rel8 if !SF and !ZF
 :(scenario jge_rel8_success)
 % SF = false;
 % OF = false;
+== 0x1
 # op  ModR/M  SIB   displacement  immediate
   7d                05                        # skip 1 instruction
   05                              00 00 00 01
@@ -153,6 +161,7 @@ case 0x7d: {  // jump rel8 if !SF
 :(scenario jge_rel8_fail)
 % SF = true;
 % OF = false;
+== 0x1
 # op  ModR/M  SIB   displacement  immediate
   7d                05                        # skip 1 instruction
   05                              00 00 00 01
@@ -168,6 +177,7 @@ case 0x7d: {  // jump rel8 if !SF
 % ZF = false;
 % SF = true;
 % OF = false;
+== 0x1
 # op  ModR/M  SIB   displacement  immediate
   7c                05                        # skip 1 instruction
   05                              00 00 00 01
@@ -191,6 +201,7 @@ case 0x7c: {  // jump rel8 if SF and !ZF
 % ZF = false;
 % SF = false;
 % OF = false;
+== 0x1
 # op  ModR/M  SIB   displacement  immediate
   7c                05                        # skip 1 instruction
   05                              00 00 00 01
@@ -206,6 +217,7 @@ case 0x7c: {  // jump rel8 if SF and !ZF
 % ZF = true;
 % SF = false;
 % OF = false;
+== 0x1
 # op  ModR/M  SIB   displacement  immediate
   7e                05                        # skip 1 instruction
   05                              00 00 00 01
@@ -219,6 +231,7 @@ case 0x7c: {  // jump rel8 if SF and !ZF
 % ZF = false;
 % SF = true;
 % OF = false;
+== 0x1
 # op  ModR/M  SIB   displacement  immediate
   7e                05                        # skip 1 instruction
   05                              00 00 00 01
@@ -242,6 +255,7 @@ case 0x7e: {  // jump rel8 if SF or ZF
 % ZF = false;
 % SF = false;
 % OF = false;
+== 0x1
 # op  ModR/M  SIB   displacement  immediate
   7e                05                        # skip 1 instruction
   05                              00 00 00 01