English
Language : 

C509-L_97 Datasheet, PDF (155/290 Pages) Siemens Semiconductor Group – 8-Bit CMOS Microcontroller
On-Chip Peripheral Components
C509-L
6.4.2 Operation of the MDU
The MDU can be regarded as a special coprocessor for multiplication, division and shift. Its
operations can be divided into three phases (see figure 6-37):
1) Loading the MDx registers
2) Executing the calculation
3) Reading the result from the MDx registers
During phase two, the MDU works on its own parallelly to the CPU. Execution times of the above
table refer to this phase. Because of the fast operation and the determined execution time for C509-
L’s instructions, there is no need for a busy flag. The CPU may execute a determined number of
instructions before the result is fetched. The result and the remainder of an operation may also be
stored in the MDx registers for later use.
Phase one and phase three require CPU activity. In these phases the CPU has to transfer the
operands and fetch the results.
Figure 6-37
Operating Phases of the MDU
The MDU has no dedicated instruction register (only for shift and normalize operations, register
ARCON is used in such a way). The type of calculation the MDU has to perform is selected following
the order in which the MDx registers are written to (see table 6-10). This mechanism also reduces
execution time spent for controlling the MDU. Hence, a special write sequence selects an operation.
The MDU monitors the whole write and read-out sequence to ensure that the CPU has fetched the
result correctly and was not interrupted by another calculation task.
Thus, a complete operation lasts from writing the first byte of the operand in phase 1 until reading
the last byte of the result in phase 3.
Semiconductor Group
6-77
1997-10-01