Professional Documents
Culture Documents
com
SIMPLE INPUT AND OUTPUT PORT TRANSFER INSTRUCTIONS: IN OUT (Input from port ) (Output to port )
SPECIAL ADDRESS TRANSFER INSTRUCTIONS LEA LDS LES (Load Effective Address ) (Load pointer using DS ) (Load ES with pointer )
FLAG TRANSFER INSTRUCTIONS: LAHF (Load flags into AH register ) SAHF (Store AH into flags ) PUSHF (Push flags onto stack ) POPF (Pop data into flags register ) ADITION INSTRUCTIONS: ADD ADC INC AAA DAA (Add) (Add with carry ) (Increment by 1 ) (ASCII adjust AL after addition ) (Decimal adjust AL after addition )
SUBTSUBTRACTION INSTRUCTIONS: SUB SBB DEC NEG CMP AAS (Subtraction ) (Subtraction with borrow ) (Decrement by 1 ) (Two's complement negation ) (Compare operands ) (ASCII adjust AL after subtraction )
www.Vidyarthiplus.com
www.Vidyarthiplus.com
MULTIPLICATION INSTRUCTIONS: MUL IMUL AAM (Unsigned multiply ) (Signed multiply ) (ASCII adjust AX after multiplication )
DIVISION INSTRUCTIONS: DIV IDIV AAD CBW CWD (Unsigned divide ) (Signed divide ) (ASCII adjust AX before division ) (Convert byte to word ) (Convert word to doubleword )
SHIFT INSTRUCTIONS: SHL SAL SHR SAR (Shift Left (unsigned shift left)) (Shift Arithmetically left (signed shift left)) (Shift right (unsigned shift right)) (Shift Arithmetically right (signed shift right))
CONDITIONAL TRANSFER INSTRUCTIONS (Jump if condition (Jxx)): JA / JNBE JAE / JNB JB / JNAE
www.Vidyarthiplus.com
www.Vidyarthiplus.com
rof. Krishna
www.Vidyarthiplus.com
www.Vidyarthiplus.com
> NO WARRANTY!
> This document is free to Copy, Store, Modify, Distribute and Circulate. > The person who download this material is advised to give this material or link to other too. > This is an open source project, which means that you too can edit or modify the contents of this document if you find anything wrong or incomplete.
www.Vidyarthiplus.com