Can anyone recommend an intermediate assembly language masm32 online tutorial.
I have a few that go into a skeleton program. How to use all the invokes to call library function.
I need to learn addressing modes and macros. Masm has a
.if Msg == value sort of macro which translates into
CMP Memory with an Immediate value
JNE
I want to be able to build a macro that will give me
.if Var1 == Var2 which would translate to
MOV AX, Var1
CMP AX, VAR2
JNE
Also how to clear a block of memory or set a block of memory
without using a library function. Which will work I know.
Thanks in advance
This looks like 16 bit homework. masm32 will not build this code for you, you need a 16 bit linker from the forum web site and then post 16 bit questions in the 16 bit forum.
Quote from: tathams on March 22, 2006, 04:21:51 AM
Can anyone recommend an intermediate assembly language masm32 online tutorial.
I have a few that go into a skeleton program. How to use all the invokes to call library function.
I need to learn addressing modes and macros. Masm has a
.if Msg == value sort of macro which translates into
CMP Memory with an Immediate value
JNE
I want to be able to build a macro that will give me
.if Var1 == Var2 which would translate to
MOV AX, Var1
CMP AX, VAR2
JNE
Also how to clear a block of memory or set a block of memory
without using a library function. Which will work I know.
Thanks in advance
Here's a 16 bit tutorial for you.
Good luck.
[attachment deleted by admin]
http://www.petesqbsite.com/sections/tutorials/assembly.shtml
Thank you all for your replies.
It is actually a 32bit OpenGl project where I am using RegisterWindowMessage,mutexname to get a message ID that I can use between a Prolog program and OpenGl program that will show me what the Prolog program is doing. In the DEFWINPOC message handler I have to compare the MessageID from the prolog program with the MessageID that the RegisterWindowMessage returned.
I made the novice mistake in my posting of saying AX when I off course meant EAX.
Thanks Again