From 9af99da37c3b50725fa04d343cb9b589e3da6f97 Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 24 Dec 2013 03:01:55 +0200 Subject: [PATCH] update asm --- run_sed.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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_ -- 2.39.2