Professional Documents
Culture Documents
ON
MICROPROCESSOR
PRESENTATION TOPIC : ARITHMETIC AND LOGIC INSTRUCTIONS
SUBMITTED TO : TANJIA CHOWDHURY
SUBMITTED BY : RONY NATH
ID : 666-48-02
INTRODUCTION
ADC adds the bit in the carry flag (C) to the operand
data.
Addition-with-carry showing how the carry flag (C)
links the two 16-bit additions into one 32-bit addition.
SUBTRACTION
Test Instruction
Operate as AND operation.
Does not affect the destination operand.
Only affect the flags, mainly the zero flags.
Usually followed by the JZ/JNZ instructions.
EX: TEST DL , DH
DL is ANDed with DH.
Compare to CMP instruction:
BASIC LOGIC INSTRUCTIONS
NOT AND NEG