| Operation: | DIV |
| Function: | Divide Accumulator by B |
| Syntax: | DIV AB |
| Instructions | OpCode | Bytes | Cycles | Flags |
| DIV AB | 0x84 | 1 | 4 | C, OV |
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.
The Carry flag (C) is always cleared.
The Overflow flag (OV) is set if division by 0 was attempted, otherwise it is cleared.
See Also: MUL AB,
Instruction Set
(C) Copyright 1997 - 2008 by Vault Information Services LLC. All Rights Reserved.
Information provided "as-is" without warranty. Please see details.
Contact us for usage and copy permission.
|