"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "source/preproce.inc" between
fasm-1.73.21.tgz and fasm-1.73.22.tgz

About: FASM (flat assembler) is a fast self-assembling assembler for x86 processors which does multiple passes to optimize the size of generated machine code.

preproce.inc  (fasm-1.73.21.tgz):preproce.inc  (fasm-1.73.22.tgz)
; flat assembler core ; flat assembler core
; Copyright (c) 1999-2019, Tomasz Grysztar. ; Copyright (c) 1999-2020, Tomasz Grysztar.
; All rights reserved. ; All rights reserved.
preprocessor: preprocessor:
mov edi,characters mov edi,characters
xor al,al xor al,al
make_characters_table: make_characters_table:
stosb stosb
inc al inc al
jnz make_characters_table jnz make_characters_table
mov esi,characters+'a' mov esi,characters+'a'
skipping to change at line 768 skipping to change at line 768
cmp ebx,ecx cmp ebx,ecx
je label_constant_ok je label_constant_ok
cmp byte [ebx],':' cmp byte [ebx],':'
jne label_broken jne label_broken
inc ebx inc ebx
cmp byte [ebx],':' cmp byte [ebx],':'
jne check_for_broken_label jne check_for_broken_label
inc ebx inc ebx
jmp check_for_broken_label jmp check_for_broken_label
label_broken: label_broken:
push line_preprocessed call replace_symbolic_constant
jmp replace_symbolic_constant jmp line_preprocessed
label_constant_ok: label_constant_ok:
mov ecx,edi mov ecx,edi
sub ecx,esi sub ecx,esi
mov edi,[edx+12] mov edi,[edx+12]
add edi,ebp add edi,ebp
push edi push edi
lea eax,[edi+ecx] lea eax,[edi+ecx]
push eax push eax
cmp esi,edi cmp esi,edi
je replace_label je replace_label
 End of changes. 2 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)