参数资料
型号: S1C7XXXF00E10C
元件分类: 微控制器/微处理器
英文描述: 16-BIT, 90 MHz, RISC MICROCONTROLLER, PQFP
文件页数: 123/196页
文件大小: 1650K
代理商: S1C7XXXF00E10C
第1页第2页第3页第4页第5页第6页第7页第8页第9页第10页第11页第12页第13页第14页第15页第16页第17页第18页第19页第20页第21页第22页第23页第24页第25页第26页第27页第28页第29页第30页第31页第32页第33页第34页第35页第36页第37页第38页第39页第40页第41页第42页第43页第44页第45页第46页第47页第48页第49页第50页第51页第52页第53页第54页第55页第56页第57页第58页第59页第60页第61页第62页第63页第64页第65页第66页第67页第68页第69页第70页第71页第72页第73页第74页第75页第76页第77页第78页第79页第80页第81页第82页第83页第84页第85页第86页第87页第88页第89页第90页第91页第92页第93页第94页第95页第96页第97页第98页第99页第100页第101页第102页第103页第104页第105页第106页第107页第108页第109页第110页第111页第112页第113页第114页第115页第116页第117页第118页第119页第120页第121页第122页当前第123页第124页第125页第126页第127页第128页第129页第130页第131页第132页第133页第134页第135页第136页第137页第138页第139页第140页第141页第142页第143页第144页第145页第146页第147页第148页第149页第150页第151页第152页第153页第154页第155页第156页第157页第158页第159页第160页第161页第162页第163页第164页第165页第166页第167页第168页第169页第170页第171页第172页第173页第174页第175页第176页第177页第178页第179页第180页第181页第182页第183页第184页第185页第186页第187页第188页第189页第190页第191页第192页第193页第194页第195页第196页
5 INSTRUCTION SET
5-6
EPSON
S1C17 FAMILY S1C17 CORE MANUAL
5.2.3 Register Indirect Addressing
In this mode, memory is accessed indirectly by specifying a general-purpose register or the stack pointer that holds
the address needed. This addressing mode is used only for load instructions that have [%rb] or [%sp] as the op-
erand. Actually, this general-purpose register is written as [%r0], [%r1], ... [%r7], or [%sp], with the register
name enclosed in brackets “[].”
The processor refers to the content of a specified register as the base address, and transfers data in the format that is
determined by the type of load instruction.
Examples: Memory
→ Register
ld.b
%r0,[%r1]
; Load 8-bit data
ld
%r0,[%r1]
; Load 16-bit data
ld.a
%r0,[%r1]
; Load 24-bit data
Register
→ Memory
ld.b
[%r1],%r0
; Store 8-bit data
ld
[%r1],%r0
; Store 16-bit data
ld.a
[%r1],%r0
; Store 24-bit data
In this example, the address indicated by r1 is the memory address from or to which data is to be trans-
ferred.
In 16-bit and 24-bit transfers, the base address that is set in a register must be on a 16-bit boundary (least significant
address bit = 0) or 32-bit boundary (2 low-order address bits = 0), respectively. Otherwise, an address-misaligned
interrupt will be generated.
5.2.4 Register Indirect Addressing with Post-increment/decrement or
Pre-decrement
As in register indirect addressing, the memory location to be accessed is specified indirectly by a general-purpose
register or the stack pointer. In this addressing mode, the base address held in a specified register is incremented/
decremented by an amount equal to the transferred data size before or after a data transfer. In this way, data can be
read from or written to continuous addresses in memory only by setting the start address once at the beginning.
Increment/decrement size (without ext)
Byte transfer (ld.b, ld.ub): rb
→ rb + 1, rb → rb - 1
16-bit transfer (ld):
rb
→ rb + 2, rb → rb - 2
24-bit transfer (ld.a):
rb
→ rb + 4, rb → rb - 4
Register indirect addressing with post-increment
When a data transfer finishes, the base address is incremented.
This addressing mode is specified by enclosing the register name in brackets “[],” which is then suffixed by “+.”
The register name is actually written as [%r0]+, [%r1]+, ... [%r7]+, or [%sp]+.
Register indirect addressing with post-decrement
When a data transfer finishes, the base address is decremented.
This addressing mode is specified by enclosing the register name in brackets “[],” which is then suffixed by “-.”
The register name is actually written as [%r0]-, [%r1]-, ... [%r7]-, or [%sp]-.
Register indirect addressing with pre-decrement
The base address is decremented before a data transfer starts.
This addressing mode is specified by enclosing the register name in brackets “[],” which is prefixed by “-.”
The register name is actually written as -[%r0], -[%r1], ... -[%r7], or -[%sp].
相关PDF资料
PDF描述
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
SPMC68336GMFT20 32-BIT, MROM, 20.97 MHz, MICROCONTROLLER, PQFP160
相关代理商/技术参数
参数描述
S1C88349 制造商:EPSON 制造商全称:EPSON 功能描述:8-bit Single Chip Microcomputer
S1C88649 制造商:EPSON 制造商全称:EPSON 功能描述:8-bit Single Chip Microcomputer
S1C88650 制造商:EPSON 制造商全称:EPSON 功能描述:8-bit Single Chip Microcomputer
S1C88655 制造商:EPSON 制造商全称:EPSON 功能描述:8-bit Single Chip Microcomputer
S1C88816 制造商:EPSON 制造商全称:EPSON 功能描述:8-bit Single Chip Microcomputer