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

caballero

  • Member
  • *****
  • Posts: 1089
    • 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
En un lugar de la Mancha de cuyo nombre no quiero acordarme

- There are 10 kind of people: those who know binary numbers and those who don't -

wjr

  • Member
  • **
  • Posts: 198
    • 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.