Intel manual says:
The use of the address-size prefix does not disable RIP-relative addressing. The effect of the address-size prefix is to truncate and zero-extend the computed effective address to 32 bits.
For control transfer instructions relative addressing is default.
CALL rel32 description says:
Call near, relative, displacement relative to next instruction. 32-bit displacement sign extended to 64-bits in 64-bit mode
But rel32 is more immediate, than address as operand-size prefix overrides default value.
If apply address-override to near call, will it behave as in quote one (zero-extend address instead of sign-extending it)
How to do this in fasm?
call dword <value> generates error, while
call word <value> adds operand-size override (as expected)