Author Topic: New versions for goasm 64 bits?  (Read 3051 times)

caballero

  • Member
  • *****
  • Posts: 2153
  • Matrix - Noah
    • abre ojos ensamblador
New versions for goasm 64 bits?
« on: September 21, 2018, 04:10:49 AM »
Hello, if I'm not wrong it is not allowed in goasm 64 bits for now "mov eax, 64+34" for example, i.e the precompiler doesn't do some calculus
The logic of the error is hidden among the most unexpected lines of the program

wjr

  • Member
  • **
  • Posts: 247
    • WJR's website
Re: New versions for goasm 64 bits?
« Reply #1 on: September 21, 2018, 05:01:49 AM »
That particular example with 32-bit integer values and register would work, but yes, there are currently some limitations with 64-bit arithmetic expressions.

Addition of 64-bit integer values does currently work, in which case you would also need to specify a 64-bit register for the result. However, 64-bit subtraction, multiplication, and division are not yet supported.