In assembly how do declare a POINT variable. I want to use the function GetCursorPos in asm but the problem i am having is that i don't know how to make it store the values into a POINT structure.
Global scope pt POINT <>
Local scope LOCAL pt :POINT
HOLY CRAP, THAT WAS FAST. THANKS SO MUCH!!!!!!!!!!
now what does <> mean?
Search for Structures as Field Initializers - CHAPTER 5
Posts 1–14 of 14 · Page 1 of 1
Post a Reply
Tags for this Thread
None
This aint the Assembly Section bro
Originally Posted by whit
This aint the Assembly Section bro
I know man, but nobody ever answers my asm questions within an hour like here. Plus, in the c++ section, mostly everyone knows asm.
Originally Posted by 258456
I know man, but nobody ever answers my asm questions within an hour like here. Plus, in the c++ section, mostly everyone knows asm.
I understand Im trying to learn ASM myself
but idk where to start
Originally Posted by whit
I understand Im trying to learn ASM myself
but idk where to start
This guy has some tuts on win32 asm, but i don't think you should start right away in it, but here is the link anyways: Iczelion's Win32 Assembly Homepage
i will also upload a compiled html of a dumbed down tutorial of asm that doesn't teach you everything but a lot of how you can get started
Also, you should download masm from www.masm32.com since it is the best compiler
Also, you should download masm from www.masm32.com since it is the best compiler
You don't compile assembly
Originally Posted by Virtual Void
You don't compile assembly
OOh, my bad (sarcasm). Assembler is what i meant. (Is that better, lol) Jk, thanks for correcting me, i don't want to make that a habit.
Fovea really seems to know what he's doing. Another way of using structures is by using 'assume' if you're storing the pointer in a register, just in case you want to cut down on declarations.
EDIT: @[MPGH]Hell_Demon I posted the virus scan in the post with the file
@Void, It's been a while, I haven't seen you in a long time. And to answer your question, this assembly thread is in the c++ thread because more people who know asm look in this thread than the assembly thread. I got over 15 replies just in these twelve hours, but in the assembly section I sometimes have to wait for a week for just one reply.