Professional Documents
Culture Documents
Solved Examples
Solved Examples
CMP AX, BX
JC DIFF2
DIFF1: MOV DX, AX
SUB DX, BX; (DX)=(AX)-(BX)
JMP DONE
DIFF2: MOV DX, BX
SUB DX, AX; (DX)=(BX)-(AX)
DONE: NOP
Q5: Show the main differences between the microcontroller and the
microprocessor giving examples.
c. Instruction set