| View previous topic :: View next topic |
| Author |
Message |
Mousai Expert Cheater
Reputation: 0
Joined: 24 Jul 2006 Posts: 119 Location: Irving, Texas
|
Posted: Wed Jan 16, 2008 4:37 am Post subject: "Trying" to learn ASM |
|
|
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 |
|
 |
Renkokuken GO Moderator
Reputation: 4
Joined: 22 Oct 2006 Posts: 3249
|
Posted: Wed Jan 16, 2008 6:03 am Post subject: |
|
|
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 |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Wed Jan 16, 2008 2:10 pm Post subject: |
|
|
| 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 |
|
 |
Mousai Expert Cheater
Reputation: 0
Joined: 24 Jul 2006 Posts: 119 Location: Irving, Texas
|
Posted: Wed Jan 16, 2008 10:15 pm Post subject: |
|
|
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 |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Wed Jan 16, 2008 11:38 pm Post subject: |
|
|
| 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 |
|
 |
|