Point Structures

Posts 1–14 of 14 · Page 1 of 1
Point Structures
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
This aint the Assembly Section bro
Quote Originally Posted by whit View Post
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.
Quote Originally Posted by 258456 View Post
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
Quote Originally Posted by whit View Post
I understand Im trying to learn ASM myself
but idk where to start
here is a massive online book


The Art of Assembly Language Programming


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:
http:/32assembly.online.fr/tutorials.html

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


Here is the virus scan for the compiled html:
http://www.virustotal.com/file-scan/...fdd-1306238591
win32asm tutorial.rarattachment deleted · 2 downloads before removal
Quote Originally Posted by 258456 View Post
here is a massive online book


The Art of Assembly Language Programmingⓘ


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
@Hell_Demon ......
Quote Originally Posted by 258456 View Post
Also, you should download masm from www.masm32.com since it is the best compiler
You don't compile assembly
Quote Originally Posted by Auxilium View Post


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: Why is this here? o_O
oh my bad i will post it now.




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.
Posts 1–14 of 14 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Talk with us