Author Topic: Using 32-bit code in 64-bit land  (Read 20521 times)


  • Member
  • *****
  • Posts: 13651
  • Assembly is fun ;-)
    • MasmBasic
Re: Using 32-bit code in 64-bit land
« Reply #30 on: June 06, 2018, 03:01:11 PM »
(hint: it doesn't in most modern OSes).
Yep, that's the point. In another forum, somebody posted a school exercise with mov eax, [bx] (probably a typo), and to my surprise, it assembled well with my default assembler, so I tried to convince Windows to accept addresses below 10000h but no cigar... so I wrote it in 64-bit code, and voilĂ , mov rax, [ebx] works just fine ;)