notaz.gp2x.de
/
ia32rtools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
7ba45c3
)
update asm
author
notaz
<notasas@gmail.com>
Tue, 24 Dec 2013 01:01:55 +0000
(
03:01
+0200)
committer
notaz
<notasas@gmail.com>
Tue, 24 Dec 2013 01:01:55 +0000
(
03:01
+0200)
run_sed.sh
patch
|
blob
|
blame
|
history
diff --git
a/run_sed.sh
b/run_sed.sh
index
df6ae5d
..
b1d0940
100755
(executable)
--- a/
run_sed.sh
+++ b/
run_sed.sh
@@
-29,9
+29,11
@@
s/\<jmp\tsub_/jmp\tnear ptr sub_/;\
# manual fixup:
# - 'end start' -> 'end'
# manual fixup:
# - 'end start' -> 'end'
-# - '
lea ecx, [ecx+0]
' -> align
+# - '
mov edi, edi', 'lea ...
' -> align
# - add 'near ptr' to some jumps
# - add 'near ptr' to some jumps
-# - 'cmp [ebp+edx+0], cl' -> 'cmp [e
dx+ebp
+0], cl'
+# - 'cmp [ebp+edx+0], cl' -> 'cmp [e
bp+edx*1
+0], cl'
# - 0FFxxh constants - masm treats a byte, ONLY sometimes prefix with 'word ptr'
# - jmp near:
# - jmp _strchr
# - 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_