View Single Post
  #5  
Old 06-04-2009, 03:21
DABhand DABhand is offline
Banned
 
Join Date: Nov 2004
Location: Near my PC
Posts: 5,406
Thanks: 0
Thanked 3 Times in 3 Posts
DABhand is on a distinguished road
Also since im a nice guy, really I am... I went to your forum and checked one of your tuts..

I literally fell off my chair at this.

i) MOV - Move (FOR DWORD, it is known as FST)
ii) SUB - Substract (For DWORD, it is known as FSUB)
iii) ADD - Addition (For DWORD, it is known as FADD)


No,

FST = Float Store
FSUB = Float Subtraction
FADD = Float Addition

ADD, SUB and MOV can use High bits ,Low bits , 8 bits, 16 bits and 32 bit values/registers.

Example

ADD AH,08
SUB BL,04
MOV AX,10FF
SUB EAX,0013AF4B

You can move DOUBLES or QWORDS with MOVQ etc


Please Please, goto the coding section of the forum and grab my 3 part tut on Basic ASM. You will be better for it


Oh I forgot to add...

You said this also.
FF or 90 or 00 (Repeated by the byte length...you can only use one of the three...I prefer 90).

It should always be 90 (NOP) that replaces any loose code. FF and 00 is asking for trouble

Last edited by DABhand; 06-04-2009 at 03:28.
Reply With Quote