参数资料
型号: S1C63158B0A010R
元件分类: 微控制器/微处理器
英文描述: 4-BIT, FLASH, 4 MHz, MICROCONTROLLER, PBGA
文件页数: 18/159页
文件大小: 1200K
代理商: S1C63158B0A010R
106
EPSON
S1C63808 TECHNICAL MANUAL
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Integer Multiplier)
4.12.4 Execution cycle
Both the multiplication and division take 10 CPU cycles for an operation. Therefore, before the results can
be read from the destination register DRH/DRL, wait at least 5 bus cycles after writing to CALMD. The
same applies to reading the operation flags NF/VF/ZF.
The following shows a sample program.
ldb
%ext, src_data@h
ldb
%xl, src_data@l
; Set RAM address for operand
ldb
%ext, au@h
ldb
%yl, au@l
; Set multiplier I/O memory address
;
ldb
%ba, [%x]+
ldb
[%y]+, %ba
; Set data to SR
ldb
%ba, [%x]+
ldb
[%y]+, %ba
; Set data to DRL
ldb
%ba, [%x]+
ldb
[%y]+, %ba
; Set data to DRH
;
ld
[%y], 0b0001
; Start operation (select calculation mode)
;
ldb
%ext, rslt_data@h
ldb
%xl, rslt_data@l
; Set result store address
nop
; Dummy instructions to wait end of operation
;
bit
[%y], 0b0100
jrnz overflow
; Jump to error routine if VF = "1"
;
add
%y, -4
; Set DRL again
;
ldb
%ba, [%y]+
ldb
[%x]+, %ba
; Store result (quotient) into RAM
ldb
%ba, [%y]+
ldb
[%x]+, %ba
; Store result (remainder) into RAM
相关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