Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->DIV

DIV    Divide Accumulator by Register B

This command divides the unsigned 8 bit integer in the accumulator by the unsigned 8 bit integer in register B.  The accumulator receives the integer part of the quotient whilst register B receives the remainder.

    
Carry:Cleared
Overflow:Cleared
Formats:
    
DescriptionMnemonicBytesCycles
    
Divide accumulator by Register B:DIV AB14