DIV
Description:
Divides the unsigned value of the Accumulator by the unsigned value of the "B" register. The resulting quotient is placed in the Accumulator and the remainder is placed in the "B" register.
Operation: | DIV |
Function: | Divide Accumulator by B |
Syntax: | DIV AB |
Instructions | OpCode | Bytes | Cycles | Flags |
DIV AB | 0x84 | 1 | 4 | C, OV |
The Carry flag (C) is always cleared.
The Overflow flag (OV) is set if division by 0 was attempted, otherwise it is cleared.
User Comments
No Posts found !Login to Post a Comment.