From 7328af20a1921d9258a60803ee5367da97a6082e Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 13 Aug 2018 21:25:22 -0700 Subject: 4521 --- html/subx/017jump_disp8.cc.html | 82 ++++++++++++++++++++--------------------- 1 file changed, 41 insertions(+), 41 deletions(-) (limited to 'html/subx/017jump_disp8.cc.html') diff --git a/html/subx/017jump_disp8.cc.html b/html/subx/017jump_disp8.cc.html index fddb1da6..a824a5f3 100644 --- a/html/subx/017jump_disp8.cc.html +++ b/html/subx/017jump_disp8.cc.html @@ -66,7 +66,7 @@ if ('onhashchange' in window) { 3 //:: jump 4 5 :(before "End Initialize Op Names(name)") - 6 put(name, "eb", "jump disp8 bytes away"); + 6 put(name, "eb", "jump disp8 bytes away"); 7 8 :(scenario jump_rel8) 9 == 0x1 @@ -81,16 +81,16 @@ if ('onhashchange' in window) { 18 19 :(before "End Single-Byte Opcodes") 20 case 0xeb: { // jump rel8 - 21 int8_t offset = static_cast<int>(next()); - 22 trace(90, "run") << "jump " << NUM(offset) << end(); - 23 EIP += offset; + 21 int8_t offset = static_cast<int>(next()); + 22 trace(90, "run") << "jump " << NUM(offset) << end(); + 23 EIP += offset; 24 break; 25 } 26 27 //:: jump if equal/zero 28 29 :(before "End Initialize Op Names(name)") - 30 put(name, "74", "jump disp8 bytes away if ZF is set"); + 30 put(name, "74", "jump disp8 bytes away if ZF is set"); 31 32 :(scenario je_rel8_success) 33 % ZF = true; @@ -106,10 +106,10 @@ if ('onhashchange' in window) { 43 44 :(before "End Single-Byte Opcodes") 45 case 0x74: { // jump rel8 if ZF - 46 int8_t offset = static_cast<int>(next()); + 46 int8_t offset = static_cast<int>(next()); 47 if (ZF) { - 48 trace(90, "run") << "jump " << NUM(offset) << end(); - 49 EIP += offset; + 48 trace(90, "run") << "jump " << NUM(offset) << end(); + 49 EIP += offset; 50 } 51 break; 52 } @@ -129,7 +129,7 @@ if ('onhashchange' in window) { 66 //:: jump if not equal/not zero 67 68 :(before "End Initialize Op Names(name)") - 69 put(name, "75", "jump disp8 bytes away if ZF is not set"); + 69 put(name, "75", "jump disp8 bytes away if ZF is not set"); 70 71 :(scenario jne_rel8_success) 72 % ZF = false; @@ -145,10 +145,10 @@ if ('onhashchange' in window) { 82 83 :(before "End Single-Byte Opcodes") 84 case 0x75: { // jump rel8 unless ZF - 85 int8_t offset = static_cast<int>(next()); + 85 int8_t offset = static_cast<int>(next()); 86 if (!ZF) { - 87 trace(90, "run") << "jump " << NUM(offset) << end(); - 88 EIP += offset; + 87 trace(90, "run") << "jump " << NUM(offset) << end(); + 88 EIP += offset; 89 } 90 break; 91 } @@ -168,12 +168,12 @@ if ('onhashchange' in window) { 105 //:: jump if greater 106 107 :(before "End Initialize Op Names(name)") -108 put(name, "7f", "jump disp8 bytes away if greater (ZF is unset, SF == OF)"); +108 put(name, "7f", "jump disp8 bytes away if greater (ZF is unset, SF == OF)"); 109 110 :(scenario jg_rel8_success) 111 % ZF = false; 112 % SF = false; -113 % OF = false; +113 % OF = false; 114 == 0x1 115 # op ModR/M SIB displacement immediate 116 7f 05 # skip 1 instruction @@ -186,10 +186,10 @@ if ('onhashchange' in window) { 123 124 :(before "End Single-Byte Opcodes") 125 case 0x7f: { // jump rel8 if !SF and !ZF -126 int8_t offset = static_cast<int>(next()); -127 if (!ZF && SF == OF) { -128 trace(90, "run") << "jump " << NUM(offset) << end(); -129 EIP += offset; +126 int8_t offset = static_cast<int>(next()); +127 if (!ZF && SF == OF) { +128 trace(90, "run") << "jump " << NUM(offset) << end(); +129 EIP += offset; 130 } 131 break; 132 } @@ -197,7 +197,7 @@ if ('onhashchange' in window) { 134 :(scenario jg_rel8_fail) 135 % ZF = false; 136 % SF = true; -137 % OF = false; +137 % OF = false; 138 == 0x1 139 # op ModR/M SIB displacement immediate 140 7f 05 # skip 1 instruction @@ -211,11 +211,11 @@ if ('onhashchange' in window) { 148 //:: jump if greater or equal 149 150 :(before "End Initialize Op Names(name)") -151 put(name, "7d", "jump disp8 bytes away if greater or equal (SF == OF)"); +151 put(name, "7d", "jump disp8 bytes away if greater or equal (SF == OF)"); 152 153 :(scenario jge_rel8_success) 154 % SF = false; -155 % OF = false; +155 % OF = false; 156 == 0x1 157 # op ModR/M SIB displacement immediate 158 7d 05 # skip 1 instruction @@ -228,17 +228,17 @@ if ('onhashchange' in window) { 165 166 :(before "End Single-Byte Opcodes") 167 case 0x7d: { // jump rel8 if !SF -168 int8_t offset = static_cast<int>(next()); -169 if (SF == OF) { -170 trace(90, "run") << "jump " << NUM(offset) << end(); -171 EIP += offset; +168 int8_t offset = static_cast<int>(next()); +169 if (SF == OF) { +170 trace(90, "run") << "jump " << NUM(offset) << end(); +171 EIP += offset; 172 } 173 break; 174 } 175 176 :(scenario jge_rel8_fail) 177 % SF = true; -178 % OF = false; +178 % OF = false; 179 == 0x1 180 # op ModR/M SIB displacement immediate 181 7d 05 # skip 1 instruction @@ -252,12 +252,12 @@ if ('onhashchange' in window) { 189 //:: jump if lesser 190 191 :(before "End Initialize Op Names(name)") -192 put(name, "7c", "jump disp8 bytes away if lesser (SF != OF)"); +192 put(name, "7c", "jump disp8 bytes away if lesser (SF != OF)"); 193 194 :(scenario jl_rel8_success) 195 % ZF = false; 196 % SF = true; -197 % OF = false; +197 % OF = false; 198 == 0x1 199 # op ModR/M SIB displacement immediate 200 7c 05 # skip 1 instruction @@ -270,10 +270,10 @@ if ('onhashchange' in window) { 207 208 :(before "End Single-Byte Opcodes") 209 case 0x7c: { // jump rel8 if SF and !ZF -210 int8_t offset = static_cast<int>(next()); -211 if (SF != OF) { -212 trace(90, "run") << "jump " << NUM(offset) << end(); -213 EIP += offset; +210 int8_t offset = static_cast<int>(next()); +211 if (SF != OF) { +212 trace(90, "run") << "jump " << NUM(offset) << end(); +213 EIP += offset; 214 } 215 break; 216 } @@ -281,7 +281,7 @@ if ('onhashchange' in window) { 218 :(scenario jl_rel8_fail) 219 % ZF = false; 220 % SF = false; -221 % OF = false; +221 % OF = false; 222 == 0x1 223 # op ModR/M SIB displacement immediate 224 7c 05 # skip 1 instruction @@ -295,12 +295,12 @@ if ('onhashchange' in window) { 232 //:: jump if lesser or equal 233 234 :(before "End Initialize Op Names(name)") -235 put(name, "7e", "jump disp8 bytes away if lesser or equal (ZF is set or SF != OF)"); +235 put(name, "7e", "jump disp8 bytes away if lesser or equal (ZF is set or SF != OF)"); 236 237 :(scenario jle_rel8_equal) 238 % ZF = true; 239 % SF = false; -240 % OF = false; +240 % OF = false; 241 == 0x1 242 # op ModR/M SIB displacement immediate 243 7e 05 # skip 1 instruction @@ -314,7 +314,7 @@ if ('onhashchange' in window) { 251 :(scenario jle_rel8_lesser) 252 % ZF = false; 253 % SF = true; -254 % OF = false; +254 % OF = false; 255 == 0x1 256 # op ModR/M SIB displacement immediate 257 7e 05 # skip 1 instruction @@ -327,10 +327,10 @@ if ('onhashchange' in window) { 264 265 :(before "End Single-Byte Opcodes") 266 case 0x7e: { // jump rel8 if SF or ZF -267 int8_t offset = static_cast<int>(next()); -268 if (ZF || SF != OF) { -269 trace(90, "run") << "jump " << NUM(offset) << end(); -270 EIP += offset; +267 int8_t offset = static_cast<int>(next()); +268 if (ZF || SF != OF) { +269 trace(90, "run") << "jump " << NUM(offset) << end(); +270 EIP += offset; 271 } 272 break; 273 } @@ -338,7 +338,7 @@ if ('onhashchange' in window) { 275 :(scenario jle_rel8_greater) 276 % ZF = false; 277 % SF = false; -278 % OF = false; +278 % OF = false; 279 == 0x1 280 # op ModR/M SIB displacement immediate 281 7e 05 # skip 1 instruction -- cgit 1.4.1-2-gfad0