参数资料
型号: S1C63158B0A010R
元件分类: 微控制器/微处理器
英文描述: 4-BIT, FLASH, 4 MHz, MICROCONTROLLER, PBGA
文件页数: 16/159页
文件大小: 1200K
代理商: S1C63158B0A010R
104
EPSON
S1C63808 TECHNICAL MANUAL
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Integer Multiplier)
4.12 Integer Multiplier
4.12.1 Configuration of integer multiplier
The S1C63808 has a built-in unsigned-integer multiplier. This multiplier performs 8 bits
× 8 bits of
multiplication or 16 bits
÷ 8 bits of division and returns the results and three flag states.
Figure 4.12.1.1 shows the configuration of the integer multiplier.
Flag
(NF/VF/ZF)
Destination register
High-order byte (DRH)
Low-order byte (DRL)
Data bus
Operation
control
(CALMD)
Source register
(SR)
Temporary
register B
Temporary
register A
Adder
Fig. 4.12.1.1 Configuration of the integer multiplier
4.12.2 Multiplication mode
To perform a multiplication, set the multiplier to the source register (SR) and the multiplicand to the low-
order 8 bits (DRL) of the destination register, then write "0" to the calculation mode selection register
(CALMD). The multiplication takes 10 CPU clock cycles from writing "0" to CALMD until the 16-bit
product is loaded into the destination register (DRH and DRL). At the same time the result is loaded, the
operation flags (NF, VF and ZF) are updated.
The following shows the conditions that change the operation flag states and examples of multiplication.
N flag:
Set when the MSB of DRH is "1" and reset when it is "0".
V flag:
Always reset after a multiplication.
Z flag:
Set when the 16-bit value in DRH/DRL is 0000H and reset when it is not 0000H.
<Examples of multiplication>
DRL (multiplicand)
SR (multiplier) DRH/DRL (product) NF
VF
ZF
00H
64H
0000H
0
1
64H
58H
2260H
0
C8H
58H
44C0H
0
C8H
A5H
80E8H
1
0
相关PDF资料
PDF描述
S1C7XXXF00E10C 16-BIT, 90 MHz, RISC MICROCONTROLLER, PQFP
ST72361AR9TA 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PQFP64
ST72361J9TA 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PQFP44
S-7750C02XX-HCT1 SPECIALTY MICROPROCESSOR CIRCUIT, PBGA16
S-7750C23XX-HCT1 SPECIALTY MICROPROCESSOR CIRCUIT, PBGA16
相关代理商/技术参数
参数描述
S1C63408 制造商:EPSON 制造商全称:EPSON 功能描述:4-bit Single Chip Microcomputer
S1C63557D04Q000 制造商:Seiko Instruments Inc (SII) 功能描述:EPSON MCU 4BIT
S1C63567 制造商:EPSON 制造商全称:EPSON 功能描述:4-bit Single Chip Microcomputer
S1C63616 制造商:EPSON 制造商全称:EPSON 功能描述:4-bit Single Chip Microcomputer
S1C63632 制造商:EPSON 制造商全称:EPSON 功能描述:4-bit Single Chip Microcomputer