English
Language : 

C517A Datasheet, PDF (39/72 Pages) Siemens Semiconductor Group – 8-Bit CMOS Microcontroller
C517A
For starting an operation, registers MD0 to MD5 and ARCON must be written to in a certain
sequence according table 7 and 8. The order the registers are accessed determines the type of the
operation. A shift operation is started by a final write operation to SFR ARCON.
Table 7
Programming the MDU for Multiplication and Division
Operation
First Write
Last Write
First Read
Last Read
32Bit/16Bit
MD0
MD1
MD2
MD3
MD4
MD5
D’endL
D’end
D’end
D’endH
D’orL
D’orH
MD0
MD1
MD2
MD3
MD4
MD5
QuoL
Quo
Quo
QuoH
RemL
RemH
16Bit/16Bit
MD0 D’endL
MD1 D’endH
MD4 D’orL
MD5
MD0
MD1
D’orH
QuoL
QuoH
MD4 RemL
MD5 RemH
16Bit x 16Bit
MD0 M’andL
MD4 M’orL
MD1 M’andH
MD5
MD0
MD1
M’orH
PrL
MD2
MD3 PrH
Abbrevations :
D’end
D’or
M’and
M’or
Pr
Rem
Quo
...L
...H
: Dividend, 1st operand of division
: Divisor, 2nd operand of division
: Multiplicand, 1st operand of multiplication
: Multiplicator, 2nd operand of multiplication
: Product, result of multiplication
: Remainder
: Quotient, result of division
: means, that this byte is the least significant of the 16-bit or 32-bit operand
: means, that this byte is the most significant of the 16-bit or 32-bit operand
Table 8
Programming athe MDU for a Shift or Normalize Operation
Operation
First write
Last write
First read
Last read
Normalize, Shift Left, Shift Right
MD0
MD1
MD2
MD3
ARCON
least significant byte
.
.
most significant byte
start of conversion
MD0
MD1
MD2
MD3
least significant byte
.
.
most significant byte
Semiconductor Group
37