diff options
-rw-r--r-- | subx/apps/subx-common.subx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/subx/apps/subx-common.subx b/subx/apps/subx-common.subx index ef1a6f93..4fc200a8 100644 --- a/subx/apps/subx-common.subx +++ b/subx/apps/subx-common.subx @@ -1211,14 +1211,12 @@ test-compute-width: # . prolog 55/push-EBP 89/copy 3/mod/direct 5/rm32/EBP . . . 4/r32/ESP . . # copy ESP to EBP - $test-compute-width:imm8: # EAX = compute-width("0x2/imm8") 68/push "0x2/imm8"/imm32 e8/call compute-width/disp32 # . discard args 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP - # check-ints-equal(EAX, 1, msg) 68/push "F - test-compute-width: 0x2/imm8"/imm32 50/push-EAX @@ -1226,14 +1224,12 @@ $test-compute-width:imm8: e8/call check-ints-equal/disp32 # . discard args 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP - $test-compute-width:imm16: # EAX = compute-width("4/imm16") 68/push "4/imm16"/imm32 e8/call compute-width/disp32 # . discard args 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP - # check-ints-equal(EAX, 2, msg) 68/push "F - test-compute-width: 4/imm16"/imm32 50/push-EAX @@ -1241,14 +1237,12 @@ $test-compute-width:imm16: e8/call check-ints-equal/disp32 # . discard args 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP - $test-compute-width:imm32: # EAX = compute-width("4/imm32") 68/push "4/imm32"/imm32 e8/call compute-width/disp32 # . discard args 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP - # check-ints-equal(EAX, 4, msg) 68/push "F - test-compute-width: 4/imm32"/imm32 50/push-EAX @@ -1256,14 +1250,12 @@ $test-compute-width:imm32: e8/call check-ints-equal/disp32 # . discard args 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP - $test-compute-width:disp8: # EAX = compute-width("foo/disp8") 68/push "foo/disp8"/imm32 e8/call compute-width/disp32 # . discard args 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP - # check-ints-equal(EAX, 1, msg) 68/push "F - test-compute-width: foo/disp8"/imm32 50/push-EAX @@ -1271,14 +1263,12 @@ $test-compute-width:disp8: e8/call check-ints-equal/disp32 # . discard args 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP - $test-compute-width:disp16: # EAX = compute-width("foo/disp16") 68/push "foo/disp16"/imm32 e8/call compute-width/disp32 # . discard args 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP - # check-ints-equal(EAX, 2, msg) 68/push "F - test-compute-width: foo/disp16"/imm32 50/push-EAX @@ -1286,14 +1276,12 @@ $test-compute-width:disp16: e8/call check-ints-equal/disp32 # . discard args 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP - $test-compute-width:disp32: # EAX = compute-width("foo/disp32") 68/push "foo/disp32"/imm32 e8/call compute-width/disp32 # . discard args 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP - # check-ints-equal(EAX, 4, msg) 68/push "F - test-compute-width: foo/disp32"/imm32 50/push-EAX @@ -1301,14 +1289,12 @@ $test-compute-width:disp32: e8/call check-ints-equal/disp32 # . discard args 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP - $test-compute-width:no-metadata: # EAX = compute-width("45") 68/push "45"/imm32 e8/call compute-width/disp32 # . discard args 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP - # check-ints-equal(EAX, 1, msg) 68/push "F - test-compute-width: 45 (no metadata)"/imm32 50/push-EAX @@ -1316,7 +1302,6 @@ $test-compute-width:no-metadata: e8/call check-ints-equal/disp32 # . discard args 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP - # . epilog 89/copy 3/mod/direct 4/rm32/ESP . . . 5/r32/EBP . . # copy EBP to ESP 5d/pop-to-EBP |