Professional Documents
Culture Documents
Instructions :
1- ADD EX: ADD AL,5
2- SUB EX: SUB 03H 02H
3- CMP -----> same as sub but there is
no result it just affects on the flag registers
4- AND,OR,XOR,TEST
EX :
MOV AL,0
MOV AH,1
AND AH,AL
Note TEST is the same as and but there is no
result it just affects on flag registers
5- MUL,DIV,IMUL,IDIV
6- INC,DEC (like ++ and -- in C#)
They affect on flag registers
7- NOT ---> doesn’t affect on flag register
(inverse one to zero and vice versa)
8- NEG ---> find 2’s complement
It does affect on flag register
9- JMP (transfer control)
Syntax:
JMP LABEL_NAME
….
..
.
LABEL_NAME:
….
..
10- conditional jump for signed numbers:-