TC1796
System Units (Vol. 1 of 2)
Peripheral Control Processor (PCP)
User’s Manual 11-87 V2.0, 2007-07
PCP, V2.0
11.11.13 DINIT, Divide Initialization Instruction
This section describes the DINIT instruction of the PCP.
DINIT Syntax DINIT <R0>, Rb, Ra
Description Initialize Divide logic ready for divide sequence (Rb / Ra) and
Clear R0. If value of Ra is 0 then set V (to flag divide by 0
error); otherwise clear V. If value of Rb is 0 and value of Ra is
not 0 then set Z (to flag a zero result); otherwise clear Z.
Operation R0 = 0
Flags Z, V