diff options
author | nc <charles.saternos@gmail.com> | 2019-07-11 22:21:32 -0400 |
---|---|---|
committer | nc <charles.saternos@gmail.com> | 2019-07-11 22:21:32 -0400 |
commit | 28053087852042796593f0392cd7ed0f59edd1d6 (patch) | |
tree | 5c7b24b0d505c14959fa1c58015b3eca65b922ee /subx/apps | |
parent | c2725b65b3076570e5c2471c6d36bbcd957132e7 (diff) | |
download | mu-28053087852042796593f0392cd7ed0f59edd1d6.tar.gz |
updated test so 'x' is relative to file-offset not segment offset
Diffstat (limited to 'subx/apps')
-rw-r--r-- | subx/apps/survey.subx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/subx/apps/survey.subx b/subx/apps/survey.subx index 82144c3c..2f100b79 100644 --- a/subx/apps/survey.subx +++ b/subx/apps/survey.subx @@ -678,7 +678,7 @@ test-compute-offsets: # segment 'code' has size 0x5 # segment 'data' is at file offset 0x5 # label 'x' is in segment 'data' - # label 'x' is at offset 0x0 + # label 'x' is at offset 0x5 # segment 'data' has size 0x1 # # . prolog @@ -820,10 +820,10 @@ test-compute-offsets: e8/call check-trace-contains/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP - # . check-trace-contains("label 'x' is at offset 0x00000000.", msg) + # . check-trace-contains("label 'x' is at offset 0x00000005.", msg) # . . push args 68/push "F - test-compute-offsets/5"/imm32 - 68/push "label 'x' is at offset 0x00000000."/imm32 + 68/push "label 'x' is at offset 0x00000005."/imm32 # . . call e8/call check-trace-contains/disp32 # dump *Trace-stream {{{ |