Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->IDIV

IDIV    Integer Divide

D / X -> X:D

Quotient -> X
Remainder -> D

Condition Code Register:

C  Set if denominator was zero, else cleared
V  Always cleared
Z  Set if quotient is zero, cleared otherwise
N  Not affected
I  Not affected
H  Not affected


    
Addressing modeAssembler syntax
Implied:IDIV