参数资料
型号: S3P9664-SK
元件分类: 微控制器/微处理器
英文描述: 8-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PDSO20
封装: 0.300 INCH, SOP-20
文件页数: 62/148页
文件大小: 784K
代理商: S3P9664-SK
S3C9664/P9664 (Preliminary Spec)
ADDRESSING MODES
3-7
INDEXED ADDRESSING MODE (X)
Indexed (X) addressing mode adds an offset value to a base address during instruction execution in order to
calculate the effective operand address (see Figure 3-7). You can use Indexed addressing mode to access
locations in the internal register file or in external memory.
In short offset Indexed addressing mode, the 8-bit displacement is treated as a signed integer in the range of
–128 to +127. This applies to external memory accesses only (see Figure 3-8).
For register file addressing, an 8-bit base address provided by the instruction is added to an 8-bit offset contained
in a working register. For external memory accesses, the base address is stored in the working register pair
designated in the instruction. The 8-bit or 16-bit offset given in the instruction is then added to the base address
(see Figure 3-9).
The only instruction that supports Indexed addressing mode for the internal register file is the Load instruction
(LD). The LDC and LDE instructions support Indexed addressing mode for internal program memory, external
program memory, and for external data memory, when implemented.
dst
OPCODE
Two-Operand
Instruction
Example
Point to One of the
Woking Register
(1 of 16)
Sample Instruction:
LD
R0, #BASE[R1]
;
Where BASE is an 8-bit immediate value
Program Memory
Register File
4 LSBs
Value used in
Instruction
OPERAND
INDEX
Base Address
~
+
src
Figure 3-7. Indexed Addressing to Register File
相关PDF资料
PDF描述
S3C9664XX-DK 8-BIT, MROM, 6 MHz, MICROCONTROLLER, PDIP20
S5964 PCI BUS CONTROLLER, PBGA256
S6A0072 16 X 40 DOTS DOT MAT LCD DRVR AND DSPL CTLR, UUC90
S80960SB16 32-BIT, 16 MHz, RISC PROCESSOR, PQFP80
S80C188EB-13 16-BIT, 13 MHz, MICROPROCESSOR, PQFP80
相关代理商/技术参数
参数描述
S3P9688 制造商:SAMSUNG 制造商全称:Samsung semiconductor 功能描述:8-bit single-chip CMOS microcontrollers
S3PDB100 制造商:SIRECTIFIER 制造商全称:Sirectifier Semiconductors 功能描述:Three Phase Rectifier Modules
S3PDB100N08 制造商:SIRECTIFIER 制造商全称:Sirectifier Semiconductors 功能描述:Three Phase Rectifier Modules
S3PDB100N12 制造商:SIRECTIFIER 制造商全称:Sirectifier Semiconductors 功能描述:Three Phase Rectifier Modules
S3PDB100N14 制造商:SIRECTIFIER 制造商全称:Sirectifier Semiconductors 功能描述:Three Phase Rectifier Modules