diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-04-06 15:13:49 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-04-06 15:13:49 -0700 |
commit | a243d45a026132bc93bafe12433d084b51fca227 (patch) | |
tree | e46479b020237a925ec394ae16f2236c1d600a21 | |
parent | 8b7e1ee2d729b106bbd6e867c948254e6e3043ac (diff) | |
download | mu-a243d45a026132bc93bafe12433d084b51fca227.tar.gz |
6196
-rwxr-xr-x | apps/survey | bin | 49861 -> 49861 bytes | |||
-rw-r--r-- | apps/survey.subx | 4 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/survey b/apps/survey index b54f0472..6bc2b121 100755 --- a/apps/survey +++ b/apps/survey Binary files differdiff --git a/apps/survey.subx b/apps/survey.subx index 99eb54df..df5bee71 100644 --- a/apps/survey.subx +++ b/apps/survey.subx @@ -1441,11 +1441,11 @@ compute-addresses: # segments: (addr stream {string, segment-info}), labels: (a # . edi = (edi * 0x20) + 0x34 c1/shift 4/subop/left 3/mod/direct 7/rm32/edi . . . . . 5/imm8 # shift edi left by 5 bits 81 0/subop/add 3/mod/direct 7/rm32/edi . . . . . 0x34/imm32 # add to edi - # srow/eax = segments->data - 8d/copy-address 1/mod/*+disp8 6/rm32/esi . . . 0/r32/eax 0xc/disp8 . # copy esi+12 to eax # max/ecx = &segments->data[segments->write] 8b/copy 0/mod/indirect 6/rm32/esi . . . 1/r32/ecx . . # copy *esi to ecx 8d/copy-address 1/mod/*+disp8 4/rm32/sib 6/base/esi 1/index/ecx . 1/r32/ecx 0xc/disp8 . # copy esi+ecx+12 to ecx + # srow/eax = segments->data + 8d/copy-address 1/mod/*+disp8 6/rm32/esi . . . 0/r32/eax 0xc/disp8 . # copy esi+12 to eax $compute-addresses:segment-loop: # if (srow >= max) break 39/compare 3/mod/direct 0/rm32/eax . . . 1/r32/ecx . . # compare eax with ecx |