C509-L_97 SIEMENS [Siemens Semiconductor Group], C509-L_97 Datasheet - Page 153

no-image

C509-L_97

Manufacturer Part Number
C509-L_97
Description
8-Bit CMOS Microcontroller
Manufacturer
SIEMENS [Siemens Semiconductor Group]
Datasheet
6.4
This on-chip arithmetic unit of the C509-L provides fast 32-bit division, 16-bit multiplication as well
as shift and normalize features. All operations are unsigned integer operations.
The arithmetic unit (further on also called MDU for “Multiplication/Division Unit”) has been integrated
to support the C500 core of the C509-L in real-time control applications. It can increase the
execution speed of math-intensive software routines by factor 5 to 10.
The MDU is handled by seven registers, which are memory mapped as special function registers
like any other registers for peripheral control. Therefore, the arithmetic unit allows operations
concurrently to and independent of the CPU’s activity. Table 6-8 describes the four general
operations the MDU is able to perform:
Table 6-8
MDU Operation Characteristics
Operation
32bit/16bit
16bit/16bit
16bit x 16bit
32-bit normalize
32-bit shift L/R
1)
2)
6.4.1
The seven SFRs of the MDU consist of registers MD0 to MD5, which contain the operands and the
result (or the remainder, resp.) and one control register called ARCON.
Thus MD0 to MD5 are used twofold:
This means that any calculation of the MDU overwrites its operands. lf a program needs the original
operands for further use, they should be stored in general purpose registers in the internal RAM.
Table 6-8 list the MDU registers with its addresses:
Table 6-9
MDU Registers
SFR
ARCON
MD0
MD1
MD2
MD3
MD4
MD5
Semiconductor Group
1
The maximal shift speed is 6 shifts per machine cycle
– for the operands before a calculation has been started and
– for storage of the result or remainder after a calculation.
t
CY
= 6
MDU Register
Arithmetic Unit
CLP = 1 machine cycle = 375 ns at 16-MHz oscillator frequency
Address
EF
E9
EA
EB
EC
ED
EE
H
H
H
H
H
H
H
Result
32bit
16bit
32bit
Name
MDU Control Register
MDU Data Register 0
MDU Data Register 1
MDU Data Register 2
MDU Data Register 3
MDU Data Register 4
MDU Data Register 5
Remainder
16bit
16bit
6-75
On-Chip Peripheral Components
Execution Time
6
4
4
6
6
t
t
t
t
t
CY
CY
CY
CY
CY
1)
1)
1)
2)
2)
1997-10-01
C509-L

Related parts for C509-L_97