The MASM Forum

General => The Campus => Topic started by: w1nst0ne on May 29, 2015, 06:56:33 PM

Title: Jwasm and masm32rt inc in 64 bit asm prog
Post by: w1nst0ne on May 29, 2015, 06:56:33 PM
Hey guys

When I try to link with jwlink an assembler program using 64 bit registers and masm32rt include it gives me the error
"Incompatible CPU mode for 64-bit segment"
I wanted to use the StdOut and inkey command. Is it even possible to use this include ?

Thanks in advance for your help
Title: Re: Jwasm and masm32rt inc in 64 bit asm prog
Post by: rrr314159 on May 29, 2015, 09:52:00 PM
Hi w1nstOne

No, that's only for 32 bits. u can't use masm32 libs / includes. Go to the 64-bit forum (towards bottom of main masm32 page) there are many posts there discussing where and how to get the necessary lib's and includes for 64-bit
Title: Re: Jwasm and masm32rt inc in 64 bit asm prog
Post by: w1nst0ne on May 29, 2015, 10:04:42 PM
Thank you very much 8)
Title: Re: Jwasm and masm32rt inc in 64 bit asm prog
Post by: Gunther on May 30, 2015, 01:16:02 AM
Hi w1nst0ne,

you'll find a lot of examples inside the 64-bit sub-forum. Furthermore, Mikl__ provides here (http://masm32.com/board/index.php?topic=4190.msg44522#msg44522) a tutorial for 64-bit programming. And welcome to the forum.

Gunther