Sign in with
Sign up | Sign in
Your question

64 bit assembly programming

Last response: in Applications
December 22, 2011 5:59:11 AM

I want to write code on graphic memory in 64 bit assembly like 0b800 ram address in 16 bit system and after a lot searching on internet i found that i must have ml64 assembler, but i can't find it. Also i can write assembly code in 64 bit but i don't know how can i directly write on graphic memory.
Thank you

Best solution

a b L Programming
a b } Memory
December 22, 2011 9:28:12 AM

I'm not sure that ml64 is available any longer from Microsoft. An alternative is yasm, which can assemble 64-bit code. You access the graphics memory as you would in 32-bit, by writing to address 0x0B800; but you will need to be running the code in supervisor mode (e.g. a device driver) otherwise you will be forbidden to access that memory. In Windows you shouldn't really try to access the graphics memory directly; use the Windwos functions instead.

You might also like to look at this site which has other good resources for 32- and 64-bit assembler programming on Windows.
December 22, 2011 12:57:21 PM

Best answer selected by shahriyar716.
a c 146 } Memory
December 22, 2011 2:10:43 PM

This topic has been closed by Nikorr
Related resources