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 


ASM Growing Reference

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Tutorials -> Auto Assembler tutorials
View previous topic :: View next topic  
Author Message
kingspades2
Master Cheater
Reputation: 0

Joined: 25 Jan 2007
Posts: 353
Location: ytmnd.com

PostPosted: Fri May 25, 2007 9:20 pm    Post subject: ASM Growing Reference Reply with quote

Hey I've finally got my lazy but up and gonna write some stuff about what I know, I hope it helps some people.

Number Systems - A way of representing numbers

Tools
-Calculator(Windows)

Base Name Digits
2 Binary 0 and 1
8 Octal 0 - 7
10 Decimal 0 - 9
16 Hexidecimal 0 - 9, A - F

------------------------------------------------------------------------

Registers - Data areas that are physically located on/in the process

Types
- Accumulator - used to hold results from math operations
- EAX
- Base - used to be a base pointer for memory addies (EBX + 4)
- EBX
- Counting - used to perform as a counter for loops
- ECX
- Data - used to help in math operations and to be a pointer
- EDX
- Source Index - designed to act as a pointer source or memory
- ESI
- Destination index - designed to " "
- EDI
- base pointer - used to hold a base addy in a stack
- EBP
- Instruction Pointer - used to help guide program control
- EIP
- Flag - the famous registers, used to hold a state of a process
CF - Carry Flag
PF - Parity Flag
AF - Adjust Flag
ZF - Zero Flag
SF - Sign Flag
DF - Direction Flag
OF - Overflow Flag

------------------------------------------------------------------------

Jump Instructions

Here are some command jump instructions:

JE - Jump short if equal
JMP - Jump near (unconditonal jump)
JAE - Jump if above or equal
JS - Jump short if sign
JB - Jump short if below
JNLE - Jump short if greater
JNGE - Jump short if not greater or equal
JNE - Jump short if not equal

------------------------------------------------------------------------

Opcode Commands

mov - move
push - push onto top of a stack from register
pop - remove from stack and return to register
cmp - compare 2 operands
call - call on....
loop - loop count
loopz/e - loop while zero
loopnz/ne - loop while not zero
lea = load effective address

-----------------------------------------------------------------------

TTTN (How Jumps Compare To Registers)

O (Overflow) OF = 1
NO (No overflow) OF = 0
C/B/NAE (Carry, Below, Not above or equal) CF = 1
NC/NB/AE (No carry, Not below, Above or equal) CF = 0
E/Z (Equal, Zero) ZF = 1
NE/NZ (Not equal, Not zero) ZF = 0
BE/NA (Below or equal, Not above) CF = 1 or ZF = 1
NBE/A (Not below or equal, Above) CF = 0 and ZF = 0
S (Sign) SF = 1
NS (Not sign) SF = 0
P/PE (Parity, Parity even) PF = 1
NP/PO (Not parity, Parity odd) PF = 0
L/NGE (Less than, Not greater than or equal to) SF <> OF
NL/GE (Not less than, Greater than or equal to) SF = OF
LE/NG (Less than or equal to, Not greater than) ZF = 1 or SF <> OF
NLE/G (Not less than or equal to, Greater than) ZF = 0 and SF = OF
------------------------------------------------------------------------

Links

www.asmcommunity.net
www.codeteachers.com
www.en.wikipedia.com
www.google.com

------------------------------------------------------------------------

Credits

Anthony Herbz - Me =], For writing this
Wikpedia - www.en.wikipedia.com
ASM Community Board - For teaching me most things -http://www.asmcommunity.net/board/index.php?action=wiki

Your welcome, I will expand this as I go, MOD's feel free to edit =]


Last edited by kingspades2 on Fri Jul 20, 2007 2:40 pm; edited 4 times in total
Back to top
View user's profile Send private message Visit poster's website
aznxhavox
Newbie cheater
Reputation: 0

Joined: 06 Dec 2006
Posts: 18

PostPosted: Fri May 25, 2007 10:19 pm    Post subject: Reply with quote

i wouldn't call this a super guide, but a reference is a better title
Back to top
View user's profile Send private message
kingspades2
Master Cheater
Reputation: 0

Joined: 25 Jan 2007
Posts: 353
Location: ytmnd.com

PostPosted: Fri May 25, 2007 10:23 pm    Post subject: Reply with quote

yea, i used it to grasp attention, yes this is however a reference, however i am expanding it
Back to top
View user's profile Send private message Visit poster's website
aznxhavox
Newbie cheater
Reputation: 0

Joined: 06 Dec 2006
Posts: 18

PostPosted: Fri May 25, 2007 10:26 pm    Post subject: Reply with quote

Its nice either way
Back to top
View user's profile Send private message
Madman
I post too much
Reputation: 1

Joined: 04 May 2006
Posts: 3976

PostPosted: Sat May 26, 2007 8:28 am    Post subject: Reply with quote

http://www.jegerlehner.ch/intel/IntelCodeTable.pdf
(another good reference)

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

Joined: 20 Jul 2006
Posts: 934
Location: PuertoRico >:D

PostPosted: Sat May 26, 2007 9:39 pm    Post subject: Reply with quote

nice job at least is something usefull
_________________
www.myfreewii.tk
Get you free Wii points or NX Cards following easy steps. or www.swagbucks.com/refer/elcucu
Back to top
View user's profile Send private message
kingspades2
Master Cheater
Reputation: 0

Joined: 25 Jan 2007
Posts: 353
Location: ytmnd.com

PostPosted: Sun May 27, 2007 7:12 am    Post subject: Reply with quote

hey thanks madman i'll look at that, i should add it up in the reference too
Back to top
View user's profile Send private message Visit poster's website
Slingshot377
Expert Cheater
Reputation: 0

Joined: 24 Nov 2006
Posts: 231

PostPosted: Mon May 28, 2007 5:10 pm    Post subject: Reply with quote

Very complete and thorough tutorial. Good job!
_________________
[URL=http://forum.cheatengine.org/viewtopic.php?t=115165]
Getting Money in Your PayPal for Playing Games, Read on here[/URL]

Getting Money in Your PayPal for Playing Games, Read on here
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 May 28, 2007 5:46 pm    Post subject: Reply with quote

Slingshot377 wrote:
Very complete and thorough tutorial. Good job!

not complete at all.

_________________
Back to top
View user's profile Send private message
Chi-Tur
How do I cheat?
Reputation: 0

Joined: 13 Jun 2007
Posts: 1

PostPosted: Wed Jun 13, 2007 5:19 pm    Post subject: nice Reply with quote

thats pretty nice.. good job
Back to top
View user's profile Send private message
kingspades2
Master Cheater
Reputation: 0

Joined: 25 Jan 2007
Posts: 353
Location: ytmnd.com

PostPosted: Sat Jun 23, 2007 12:10 am    Post subject: Reply with quote

updated. added how jumps compare to flags (i.e. - jne to zf), opcode commands, annd some other stuff
Back to top
View user's profile Send private message Visit poster's website
onvoloper
Master Cheater
Reputation: 0

Joined: 05 Jul 2006
Posts: 294

PostPosted: Fri Jul 20, 2007 8:48 pm    Post subject: Reply with quote

GJ I'm starting to try n leanr asm so itll be good to have a refernce Very Happy
Back to top
View user's profile Send private message
kingspades2
Master Cheater
Reputation: 0

Joined: 25 Jan 2007
Posts: 353
Location: ytmnd.com

PostPosted: Sat Jul 21, 2007 10:11 am    Post subject: Reply with quote

ah anytime, and ill keep adding more, this is also more of an AA Reference btw...for scripting and such
Back to top
View user's profile Send private message Visit poster's website
random5566
Advanced Cheater
Reputation: 0

Joined: 28 Feb 2008
Posts: 82

PostPosted: Tue Oct 07, 2008 5:52 am    Post subject: Reply with quote

Nice info. Here are some other links :

(general instructions)
http://www.emu8086.com/assembly_language_tutorial_assembler_reference/8086_instruction_set.html

(math instructions)
http://www.website.masmforum.com/tutorials/fptute/appen1.htm

(all instructions)
http://developer.apple.com/documentation/DeveloperTools/nasm/nasmdocb.html
or
http://alien.dowling.edu/~rohit/nasmdocb.html

Smile Finally I can post url's. Twisted Evil
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Tutorials -> Auto Assembler tutorials 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