Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


"Trying" to learn ASM

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Mousai
Expert Cheater
Reputation: 0

Joined: 24 Jul 2006
Posts: 119
Location: Irving, Texas

PostPosted: Wed Jan 16, 2008 4:37 am    Post subject: "Trying" to learn ASM Reply with quote

So, I'm tryin to learn ASM right. Yup yup, but! I run into this problem, and it's like totally confusing you get me? And and well:
Mmk I started out using PCASM Book from the "Library" it seems good'n all but I'm using NASM. Ok, so I tried using IcZelion's tutorials that are for NASM. Cool beans right? Wrong because he doesn't explain things well, for instance what the fuck's a hInstance?
Code:
.data?
hInstance HINSTANCE ?

In the tutorial he says: It's new name for DWORD, whats a dword?
Also is HINSTANCE just a new name too? See my point? And if I read PCASM it seems to cover the basics kinda, but in a whole DIFFERENT way. It uses call instead of invoke (same thing I know) but a buncha other things as well, that's not going to help if I learn it in a different way. Also it doesn't have anything on making GUI programs. Should I learn one then the other or what?
Iczelion>Shows how to make window things, while the other seems more in depth on what goes on in the program. Can Someone help me out? Or give me some advice/other tutorials? I can't seem to find any good ones.

_________________
Back to top
View user's profile Send private message
Renkokuken
GO Moderator
Reputation: 4

Joined: 22 Oct 2006
Posts: 3249

PostPosted: Wed Jan 16, 2008 6:03 am    Post subject: Reply with quote

I'd recommend getting a better knowledge of another language at first, if you don't know basic types and structures. Preferably C.

A DWORD is a double-word, or a 32-bit unsigned integer.
HINSTANCE is a handle to the instance of the executable file, that contains the resources. (GetModuleHandle( NULL ))

Bolded so you get get the actual meaning of the acronym.
Back to top
View user's profile Send private message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Wed Jan 16, 2008 2:10 pm    Post subject: Reply with quote

Also, NASM is bad. Try FASM instead (MASM32 if you don't know what the hell you are doing; more community base = more tutorials).
Back to top
View user's profile Send private message
Mousai
Expert Cheater
Reputation: 0

Joined: 24 Jul 2006
Posts: 119
Location: Irving, Texas

PostPosted: Wed Jan 16, 2008 10:15 pm    Post subject: Reply with quote

32-bit unsigned integers positive only, Ohhh so the things with two-halfs when it sores the memory it stores the 2nd half then the 1st half 'lawls' now I remember. The resources got it.
Hmm, why preferably C? Is it easier or somethin? Also I'll be sure to get MASM.

_________________
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Wed Jan 16, 2008 11:38 pm    Post subject: Reply with quote

Mousai wrote:
32-bit unsigned integers positive only, Ohhh so the things with two-halfs when it sores the memory it stores the 2nd half then the 1st half 'lawls' now I remember. The resources got it.
Hmm, why preferably C? Is it easier or somethin? Also I'll be sure to get MASM.


Unsigned int: 0 to 4294967295

Other data-types and their min/max are found here:
http://cplusplus.com/doc/tutorial/variables.html

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites