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 


Few beginner assembly questions.

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

Joined: 03 May 2007
Posts: 153

PostPosted: Sat Nov 15, 2008 9:21 pm    Post subject: Few beginner assembly questions. Reply with quote

I like switching between programming languages when I get bored of another. I learn Java in school, C++ at home, and since I don't know a low level language, I decided upon ASM

Is all Win32 programming the same?

Will all assemblers have the same syntax?

Which one do you think I should use? MASM?

Is this tutorial good? http://win32assembly.online.fr/tut1.html

When I'm done with Win32 programming, where do I go to learn how to hack other processes?

Is it easy to develop simple games in assembly with 3D graphics?

When deciding on which language to use, C++ for bigger projects and assembly for small speedy ones?

Thanks.
Back to top
View user's profile Send private message
nog_lorp
Grandmaster Cheater
Reputation: 0

Joined: 26 Feb 2006
Posts: 743

PostPosted: Sun Nov 16, 2008 6:28 am    Post subject: Reply with quote

There are two basic types of x86 assembler syntax:
ATT syntax and Intel syntax. The kind you use in CE's auto-assembler, and most Windows based tools, is Intel syntax, but if you use GCC's assembler or NASM you use ATT syntax.
The differences are:
The order of operators is switched (Intel: MOV DEST, SRC; ATT: MOV SRC DEST).
Specifying data width is different (Intel: mov dword ptr [BAADFOOD], eax; ATT: movl ...).
The way registers are written is different (Intel: eax, ebx, etc; ATT: %eax, %ebx)
The way pointers are written is different (Intel: segment:[address+offset*width]; ATT: %segment:offset(base,index,scale)Wink

_________________
Mutilated lips give a kiss on the wrist of the worm-like tips of tentacles expanding in my mind
I'm fine accepting only fresh brine you can get another drop of this yeah you wish
Back to top
View user's profile Send private message
Caelestis
Expert Cheater
Reputation: 0

Joined: 03 May 2007
Posts: 153

PostPosted: Sun Nov 16, 2008 7:39 pm    Post subject: Reply with quote

Thanks

I need some clarifications on the other questions too though.
Back to top
View user's profile Send private message
sponge
I'm a spammer
Reputation: 1

Joined: 07 Nov 2006
Posts: 6009

PostPosted: Sun Nov 16, 2008 8:53 pm    Post subject: Reply with quote

You will find lots of support with MASM, however FASM is supposedly a great assembler. The linked tutorial is fine if you are learning MASM.

Your first question is vague... clarify?

_________________
Back to top
View user's profile Send private message
Caelestis
Expert Cheater
Reputation: 0

Joined: 03 May 2007
Posts: 153

PostPosted: Mon Nov 17, 2008 5:39 pm    Post subject: Reply with quote

I was just asking if the syntax is constant in assembly. I think nop answered it.

One more question:

Do you think I should program assembly on my TI-84 or start on windows?
Back to top
View user's profile Send private message
sponge
I'm a spammer
Reputation: 1

Joined: 07 Nov 2006
Posts: 6009

PostPosted: Mon Nov 17, 2008 6:00 pm    Post subject: Reply with quote

Instruction sets are not based on OSs. They are based on processor types. Its your choice to start with whatever you want.
_________________
Back to top
View user's profile Send private message
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