News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Using 32-bit code in 64-bit land

Started by jj2007, March 10, 2017, 03:42:45 PM

Previous topic - Next topic

jj2007

Quote from: sinsi on June 06, 2018, 09:08:01 AM(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 ;)