flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Tomasz Grysztar 13 Nov 2020, 18:02
1. The semantics used by fasm focus on what the instruction does, not how it is encoded. The size override does not reflect the size of immediate field in the instruction, it corresponds to an actual size of the target address:
Code: jmp word -1 ; EB FD jumps to 0FFFFh jmp dword -1 ; 66 EB FA jumps to 0FFFFFFFFh 2. Yes, the segment prefixes could be safely ignored there, I guess this never really came up, as you rarely see LEA instruction used this way. |
|||
![]() |
|
CandyMan 13 Nov 2020, 18:42
I understand.
Thanks for the quick reply. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.