about summary refs log tree commit diff stats
path: root/subx/013immediate_addressing.cc
diff options
context:
space:
mode:
Diffstat (limited to 'subx/013immediate_addressing.cc')
-rw-r--r--subx/013immediate_addressing.cc28
1 files changed, 12 insertions, 16 deletions
diff --git a/subx/013immediate_addressing.cc b/subx/013immediate_addressing.cc
index 2e4b459a..14121d42 100644
--- a/subx/013immediate_addressing.cc
+++ b/subx/013immediate_addressing.cc
@@ -164,7 +164,12 @@ case 0x0d: {  // or imm32 with EAX
 +run: subop or
 +run: storing 0xddccbbaa
 
-//:
+:(before "End Op 81 Subops")
+case 1: {
+  trace(2, "run") << "subop or" << end();
+  BINARY_BITWISE_OP(|, *arg1, arg2);
+  break;
+}
 
 :(scenario or_imm32_with_r32)
 % Reg[3].i = 0xd0c0b0a0;
@@ -175,13 +180,6 @@ case 0x0d: {  // or imm32 with EAX
 +run: subop or
 +run: storing 0xddccbbaa
 
-:(before "End Op 81 Subops")
-case 1: {
-  trace(2, "run") << "subop or" << end();
-  BINARY_BITWISE_OP(|, *arg1, arg2);
-  break;
-}
-
 //:: xor
 
 :(scenario xor_imm32_with_eax)
@@ -211,7 +209,12 @@ case 0x35: {  // xor imm32 with EAX
 +run: subop xor
 +run: storing 0xddccbbaa
 
-//:
+:(before "End Op 81 Subops")
+case 6: {
+  trace(2, "run") << "subop xor" << end();
+  BINARY_BITWISE_OP(^, *arg1, arg2);
+  break;
+}
 
 :(scenario xor_imm32_with_r32)
 % Reg[3].i = 0xd0c0b0a0;
@@ -222,13 +225,6 @@ case 0x35: {  // xor imm32 with EAX
 +run: subop xor
 +run: storing 0xddccbbaa
 
-:(before "End Op 81 Subops")
-case 6: {
-  trace(2, "run") << "subop xor" << end();
-  BINARY_BITWISE_OP(^, *arg1, arg2);
-  break;
-}
-
 //:: compare (cmp)
 
 :(scenario compare_imm32_with_eax_greater)
ref='#n181'>181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240