| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| kingspades2 Master Cheater
 
 ![]() Reputation: 0 
 Joined: 25 Jan 2007
 Posts: 353
 Location: ytmnd.com
 
 | 
			
				|  Posted: Fri May 25, 2007 9:20 pm    Post subject: ASM Growing Reference |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| aznxhavox Newbie cheater
 
 ![]() Reputation: 0 
 Joined: 06 Dec 2006
 Posts: 18
 
 
 | 
			
				|  Posted: Fri May 25, 2007 10:19 pm    Post subject: |   |  
				| 
 |  
				| i wouldn't call this a super guide, but a reference is a better title |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| kingspades2 Master Cheater
 
 ![]() Reputation: 0 
 Joined: 25 Jan 2007
 Posts: 353
 Location: ytmnd.com
 
 | 
			
				|  Posted: Fri May 25, 2007 10:23 pm    Post subject: |   |  
				| 
 |  
				| yea, i used it to grasp attention, yes this is however a reference, however i am expanding it |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| aznxhavox Newbie cheater
 
 ![]() Reputation: 0 
 Joined: 06 Dec 2006
 Posts: 18
 
 
 | 
			
				|  Posted: Fri May 25, 2007 10:26 pm    Post subject: |   |  
				| 
 |  
				| Its nice either way |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Madman I post too much
 
  Reputation: 1 
 Joined: 04 May 2006
 Posts: 3978
 
 
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| elcucu Grandmaster Cheater
 
 ![]() Reputation: 0 
 Joined: 20 Jul 2006
 Posts: 934
 Location: PuertoRico  >:D
 
 | 
			
				|  Posted: Sat May 26, 2007 9:39 pm    Post subject: |   |  
				| 
 |  
				| nice job at least is something usefull _________________
 
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| kingspades2 Master Cheater
 
 ![]() Reputation: 0 
 Joined: 25 Jan 2007
 Posts: 353
 Location: ytmnd.com
 
 | 
			
				|  Posted: Sun May 27, 2007 7:12 am    Post subject: |   |  
				| 
 |  
				| hey thanks madman i'll look at that, i should add it up in the reference too |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Slingshot377 Expert Cheater
 
 ![]() Reputation: 0 
 Joined: 24 Nov 2006
 Posts: 231
 
 
 | 
			
				|  Posted: Mon May 28, 2007 5:10 pm    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| sponge I'm a spammer
 
  Reputation: 1 
 Joined: 07 Nov 2006
 Posts: 6009
 
 
 | 
			
				|  Posted: Mon May 28, 2007 5:46 pm    Post subject: |   |  
				| 
 |  
				|  	  | Slingshot377 wrote: |  	  | Very complete and thorough tutorial. Good job! | 
 not complete at all.
 _________________
 
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Chi-Tur How do I cheat?
 
  Reputation: 0 
 Joined: 13 Jun 2007
 Posts: 1
 
 
 | 
			
				|  Posted: Wed Jun 13, 2007 5:19 pm    Post subject: nice |   |  
				| 
 |  
				| thats pretty nice.. good job |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| kingspades2 Master Cheater
 
 ![]() Reputation: 0 
 Joined: 25 Jan 2007
 Posts: 353
 Location: ytmnd.com
 
 | 
			
				|  Posted: Sat Jun 23, 2007 12:10 am    Post subject: |   |  
				| 
 |  
				| updated. added how jumps compare to flags (i.e. - jne to zf), opcode commands, annd some other stuff |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| onvoloper Master Cheater
 
 ![]() Reputation: 0 
 Joined: 05 Jul 2006
 Posts: 294
 
 
 | 
			
				|  Posted: Fri Jul 20, 2007 8:48 pm    Post subject: |   |  
				| 
 |  
				| GJ I'm starting to try n leanr asm so itll be good to have a refernce  |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| kingspades2 Master Cheater
 
 ![]() Reputation: 0 
 Joined: 25 Jan 2007
 Posts: 353
 Location: ytmnd.com
 
 | 
			
				|  Posted: Sat Jul 21, 2007 10:11 am    Post subject: |   |  
				| 
 |  
				| ah anytime, and ill keep adding more, this is also more of an AA Reference btw...for scripting and such |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| random5566 Advanced Cheater
 
 ![]() Reputation: 0 
 Joined: 28 Feb 2008
 Posts: 82
 
 
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  |