欢迎访问ic37.com |
会员登录 免费注册
发布采购

UPSD3412C-24U6T 参数 Datasheet PDF下载

UPSD3412C-24U6T图片预览
型号: UPSD3412C-24U6T
PDF下载: 下载PDF文件 查看货源
内容描述: 闪存可编程系统设备与8032单片机内核和16Kbit的SRAM [Flash Programmable System Devices with 8032 Microcontroller Core and 16Kbit SRAM]
分类和应用: 闪存静态存储器微控制器
文件页数/大小: 152 页 / 1492 K
品牌: STMICROELECTRONICS [ ST ]
 浏览型号UPSD3412C-24U6T的Datasheet PDF文件第22页浏览型号UPSD3412C-24U6T的Datasheet PDF文件第23页浏览型号UPSD3412C-24U6T的Datasheet PDF文件第24页浏览型号UPSD3412C-24U6T的Datasheet PDF文件第25页浏览型号UPSD3412C-24U6T的Datasheet PDF文件第27页浏览型号UPSD3412C-24U6T的Datasheet PDF文件第28页浏览型号UPSD3412C-24U6T的Datasheet PDF文件第29页浏览型号UPSD3412C-24U6T的Datasheet PDF文件第30页  
UPSD3212C, UPSD3212CV  
External RAM. Table 10 shows a list of the Data  
Transfer instructions that access external Data  
Memory. Only indirect addressing can be used.  
The choice is whether to use a one-byte address,  
@Ri, where Ri can be either R0 or R1 of the se-  
The other MOVC instruction works the same way,  
except the Program Counter (PC) is used as the  
table base, and the table is accessed through a  
subroutine. First the number of the desired en-try  
is loaded into the Accumulator, and the subroutine  
is called:  
lected  
register  
bank,  
or  
a
two-byte  
address, @DTPR.  
MOV A , ENTRY NUMBER  
CALL TABLE  
The subroutine “TABLE” would look like this:  
TABLE: MOVC A , @A+PC  
RET  
The table itself immediately follows the RET (re-  
turn) instruction is Program Memory. This type of  
table can have up to 255 entries, numbered 1  
through 255. Number 0 cannot be used, because  
at the time the MOVC instruction is executed, the  
PC contains the address of the RET instruction.  
An entry numbered 0 would be the RET opcode it-  
self.  
Note: In all external Data RAM accesses, the Ac-  
cumulator is always either the destination or  
source of the data.  
Lookup Tables. Table 11 shows the two instruc-  
tions that are available for reading lookup tables in  
Program Memory. Since these instructions access  
only Program Memory, the lookup tables can only  
be read, not updated.  
The mnemonic is MOVC for “move constant.” The  
first MOVC instruction in Table 11 can accommo-  
date a table of up to 256 entries numbered 0  
through 255. The number of the desired entry is  
loaded into the Accumulator, and the Data Pointer  
is set up to point to the beginning of the table.  
Then:  
MOVC A, @A+DPTR  
copies the desired table entry into the Accumula-  
tor.  
Table 10. Data Transfer Instruction that Access External Data Memory Space  
Address Width  
8 bits  
Mnemonic  
MOVX A,@Ri  
Operation  
READ external RAM @Ri  
WRITE external RAM @Ri  
READ external RAM @DPTR  
WRITE external RAM @DPTR  
8 bits  
MOVX @Ri,A  
16 bits  
MOVX A,@DPTR  
MOVX @DPTR,a  
16 bits  
Table 11. Lookup Table READ Instruction  
Mnemonic  
Operation  
MOVC A,@A+DPTR  
MOVC A,@A+PC  
READ program memory at (A+DPTR)  
READ program memory at (A+PC)  
26/152  
 复制成功!