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

S3C4510B 参数 Datasheet PDF下载

S3C4510B图片预览
型号: S3C4510B
PDF下载: 下载PDF文件 查看货源
内容描述: 三星S3C4510B的16位/ 32位RISC微控制器是一款高性价比,高性能的基于以太网的系统微控制器解决方案。 [Samsungs S3C4510B 16/32-bit RISC microcontroller is a cost-effective, high-performance microcontroller solution for Ethernet-based systems.]
分类和应用: 微控制器以太网
文件页数/大小: 422 页 / 2160 K
品牌: SAMSUNG [ SAMSUNG ]
 浏览型号S3C4510B的Datasheet PDF文件第85页浏览型号S3C4510B的Datasheet PDF文件第86页浏览型号S3C4510B的Datasheet PDF文件第87页浏览型号S3C4510B的Datasheet PDF文件第88页浏览型号S3C4510B的Datasheet PDF文件第90页浏览型号S3C4510B的Datasheet PDF文件第91页浏览型号S3C4510B的Datasheet PDF文件第92页浏览型号S3C4510B的Datasheet PDF文件第93页  
S3C4510B  
INSTRUCTION SET  
SINGLE DATA SWAP (SWP)  
31  
28 27  
23 22 21 20 19  
00  
16 15  
12 11  
8
7
4
3
0
00010  
B
Rn  
Rd  
0000  
1001  
Rm  
Cond  
[3:0] Source Register  
[15:12] Destination Register  
[19:16] Base Register  
[22] Byte/Word Bit  
0 = Swap word quantity  
1 = Swap word quantity  
[31:28] Condition Field  
Figure 3-23. Swap Instruction  
The instruction is only executed if the condition is true. The various conditions are defined in Table 3-2. The  
instruction encoding is shown in Figure 3-23.  
The data swap instruction is used to swap a byte or word quantity between a register and external memory. This  
instruction is implemented as a memory read followed by a memory write which are “locked” together (the  
processor cannot be interrupted until both operations have completed, and the memory manager is warned to  
treat them as inseparable). This class of instruction is particularly useful for implementing software semaphores.  
The swap address is determined by the contents of the base register (Rn). The processor first reads the contents  
of the swap address. Then it writes the contents of the source register (Rm) to the swap address, and stores the  
old memory contents in the destination register (Rd). The same register may be specified as both the source and  
destination.  
The lock output goes HIGH for the duration of the read and write operations to signal to the external memory  
manager that they are locked together, and should be allowed to complete without interruption. This is important  
in multi-processor systems where the swap instruction is the only indivisible instruction which may be used to  
implement semaphores; control of the memory must not be removed from a processor while it is performing a  
locked operation.  
BYTES AND WORDS  
This instruction class may be used to swap a byte (B = 1) or a word (B = 0) between an ARM7TDMI register and  
memory. The SWP instruction is implemented as a LDR followed by a STR and the action of these is as  
described in the section on single data transfers. In particular, the description of Big and Little Endian  
configuration applies to the SWP instruction.  
USE OF R15  
Do not use R15 as an operand (Rd, Rn or Rs) in a SWP instruction.  
3-47  
 复制成功!