参数资料
型号: uPSD3212
厂商: 意法半导体
英文描述: Flash Programmable System Device with 8032 Microcontroller Core(嵌入高速“8032微控制器核”的Flash型可编程系统器件)
中文描述: 闪存可编程系统器件与8032微控制器内核(嵌入高速“8032微控制器核”的闪存型可编程系统器件)
文件页数: 24/155页
文件大小: 1055K
代理商: UPSD3212
μPSD321X
24/155
First, pointers R1 and R0 are set up to point to the
two bytes containing the last four BCD digits. Then
a loop is executed which leaves the last byte, loca-
tion 2EH, holding the last two digits of the shifted
number. The pointers are decremented, and the
loop is repeated for location 2DH. The CJNE in-
struction (Compare and Jump if Not equal) is a
loop control that will be described later. The loop
executed from LOOP to CJNE for R1 = 2EH, 2DH,
2CH, and 2BH. At that point the digit that was orig-
inally shifted out on the right has propagated to lo-
cation 2AH. Since that location should be left with
0s, the lost digit is moved to the Accumulator.
Table 7. Shifting a BCD Number Two Digits to
the Right (using direct MOVs: 14 bytes)
Table 8. Shifting a BCD Number Two Digits to
the Right (using direct XCHs: 9 bytes)
Table 9. Shifting a BCD Number One Digit to the Right
2A
2B
2C
2D
2E
ACC
MOV
A,2Eh
00
12
34
56
78
78
MOV
2Eh,2Dh
00
12
34
56
56
78
MOV
2Dh,2Ch
00
12
34
34
56
78
MOV
2Ch,2Bh
00
12
12
34
56
78
MOV
2Bh,#0
00
00
12
34
56
78
2A
2B
2C
2D
2E
ACC
CLR
A
00
12
34
56
78
00
XCH
A,2Bh
00
00
34
56
78
12
XCH
A,2Ch
00
00
12
56
78
34
XCH
A,2Dh
00
00
12
34
78
56
XCH
A,2Eh
00
00
12
34
56
78
2A
2B
2C
2D
2E
ACC
MOV
R1,#2Eh
00
12
34
56
78
xx
MOV
R0,#2Dh
00
12
34
56
78
xx
; loop for R1 = 2Eh
LOOP:
MOV
A,@R1
00
12
34
56
78
78
XCHD
A,@R0
00
12
34
58
78
76
SWAP
A
00
12
34
58
78
67
MOV
@R1,A
00
12
34
58
67
67
DEC
R1
00
12
34
58
67
67
DEC
R0
00
12
34
58
67
67
CNJE
R1,#2Ah,LOOP
00
12
34
58
67
67
; loop for R1 = 2Dh
00
12
38
45
67
45
; loop for R1 = 2Ch
00
18
23
45
67
23
; loop for R1 = 2Bh
08
01
23
45
67
01
CLR
A
08
01
23
45
67
00
XCH
A,2Ah
00
01
23
45
67
08
相关PDF资料
PDF描述
UPSD3215A-24T1 8-bit Microcontroller with 2/4/8K Bytes In-System Programmable Flash
UPSD3215AV-40T6T 8-bit Microcontroller with 2/4/8K Bytes In-System Programmable Flash
UPSD3215BV-24U1 8-bit Microcontroller with 2/4/8K Bytes In-System Programmable Flash
UPSD3233A-40T6 8-bit Microcontroller with 2/4/8K Bytes In-System Programmable Flash
UPSD3233AV-40T1 8-bit Microcontroller with 2/4/8K Bytes In-System Programmable Flash
相关代理商/技术参数
参数描述
UPSD3212A 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:Flash Programmable System Devices with 8032 MCU with USB and Programmable Logic
UPSD3212A-24T6T 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:Flash Programmable System Devices with 8032 MCU with USB and Programmable Logic
UPSD3212A-24U6T 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:Flash Programmable System Devices with 8032 MCU with USB and Programmable Logic
UPSD3212A-40T6 功能描述:8位微控制器 -MCU Flash Programmable System Devices RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
UPSD3212A-40T6T 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:Flash Programmable System Devices with 8032 MCU with USB and Programmable Logic