flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
l_inc
shutdownall
Not sure, what you mean under an "address space sign", but addresses can definitely have a sign (and, obviously, an address space can start with such a negative address). Especially in the context of the 64-bit "canonical addressing". |
|||
![]() |
|
baldr
shutdownall,
This is probably because fasm uses 65-bit values internally. |
|||
![]() |
|
shutdownall
l_inc wrote: shutdownall Okay - this is new to me. Do you have an example ? ![]() |
|||
![]() |
|
l_inc
shutdownall
An example of what? Negative address in fasm? Here it is: Code: org -$10 dw $ dd $-2 dq $-6 Sure, there are no easter egg memory locations addressable with a negative address. Thus the value just wraps around. In some cases like canonical addressing this could be convenient. |
|||
![]() |
|
shutdownall
l_inc wrote:
What a pity. ![]() Anyway thanks, I never thought about using these address techniques. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.