Ric wrote: ↑Mon 09 Mar 2026, 20:19
it syntax errors at line 3532.
I'm no expert in 64-bit assembly language, but my understanding is that the memory operand can't be an
absolute address (pointer), because it would require 8 bytes; very few instructions can take an 8-byte absolute address for the same reason. What you have to use instead is a
relative address, which needs only four bytes - the same number as the absolute address would in 32-bit code:
I discussed earlier in the thread the technique of using relative pointers rather than absolute ones, to keep the size as 32-bits, and this is an example of the CPU itself adopting the same strategy.