I have a very quick question about the assembly language.
I disassembled C code and found that "JNZ short 00958178" I know 'JNZ' operation, but what is "short"???? What "short" does in this command?
Thank you advance.
I have a very quick question about the assembly language.
I disassembled C code and found that "JNZ short 00958178" I know 'JNZ' operation, but what is "short"???? What "short" does in this command?
Thank you advance.
It is only usefull for to write "short" for jumping forward in the code, if the destination address is inside of +127 bytes. (But if the target address is outside of this range, then we get an error message from the assembler.)
For jumping backward in the code the assembler allready knows the range between the target address and the jump-instruction and so the assembler use the shortest form of the jump-instruction by default, if it is possible.
Dirk