SUB

 


Opcode

Operand

Description

SUB

R

M

Subtract register or memory from accumulator

 

 

—  The contents of the register or memory location are subtracted from the

contents of the accumulator.

 

—  The result is stored in accumulator.

—  If the operand is memory location, its address is specified by H-L pair.

—  All flags are modified to reflect the result of subtraction.

—  Example: SUB B or SUB M

Comments

Popular posts from this blog

SIM

RIM

MVI