From: notaz Date: Tue, 24 Dec 2013 01:01:55 +0000 (+0200) Subject: update asm X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9af99da37c3b50725fa04d343cb9b589e3da6f97;hp=7ba45c344765db59116cae21972f2ea5facf3815;p=ia32rtools.git update asm --- diff --git a/run_sed.sh b/run_sed.sh index df6ae5d..b1d0940 100755 --- a/run_sed.sh +++ b/run_sed.sh @@ -29,9 +29,11 @@ s/\ 'end' -# - 'lea ecx, [ecx+0]' -> align +# - 'mov edi, edi', 'lea ...' -> align # - add 'near ptr' to some jumps -# - 'cmp [ebp+edx+0], cl' -> 'cmp [edx+ebp+0], cl' +# - 'cmp [ebp+edx+0], cl' -> 'cmp [ebp+edx*1+0], cl' # - 0FFxxh constants - masm treats a byte, ONLY sometimes prefix with 'word ptr' # - jmp near: # - jmp _strchr +# - search for 'dword_xx+N', make byte/word, also word->byte +# - get rid of type propagation, regenerate as 'simple' var_