MVI - 3


SUB . SBB SUB. .

SUB r A r >A

SUB M A M >A

SBB r A r - CY >A

SBB M A M - CY >A

SUI, SBI

SUI , . SBI , CY.

SUI data8; + data8 >

SBI data8; + data8 +CY>A

!

() .

INR, DCR

INR ADD. 1 , . DCR SUB. 1 , .

INR r r + 1 > r

INR M M + 1 > M

DCR r r 1 > r

DCR M M 1 > M

!

CY.

INX, DCX

INX DCX 1 (B-, D- , H- ) SP.

INX rp; rp + 1 > r

DCX rp; rp 1 > r

!

.

DAD, DAA

DAD (H,L) rp (rp B-,D- H- , SP)