I have an assembler procedure of about a 1500 lines of code.  The problem is 
the jumps are generated with absolute addresses only, even if I explicitly 
specify 
"short" postfix. Why is it? The code size is critical for me. I am using 
lazarus with fpc 2.2.2. Example code:

sub eax,dword ptr [esp]
add esp,04h
cmp eax,0FFFh
jbe short @not_traced // JBE 0xABSOLUTE_ADDRESS GENERATED - WHY???!!!
popad
popad
retn
@not_traced: 

Any suggestions? Thank you.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to