参数资料
型号: S1C7XXXF00E10C
元件分类: 微控制器/微处理器
英文描述: 16-BIT, 90 MHz, RISC MICROCONTROLLER, PQFP
文件页数: 138/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-20
EPSON
S1C17 FAMILY S1C17 CORE MANUAL
0 0
0
imm13
imm7
imm7 with one ext
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0
23
20 19
7
imm7
6
0
imm7 with no ext
imm13(3:0)
imm13'
imm7
imm7 with two ext
X
0
Branch destination address
PC
jpa imm7
(3) PC relative call instructions
The PC relative call instruction call sign10/%rb is a subroutine call instruction that is useful for relocat-
able programming, as it causes the program to unconditionally branch to a subroutine starting from an address
calculated as PC + 2 (the next address of the branch instruction) + signed displacement (specified by the oper-
and). During branching, the program saves the address of the instruction next to the call instruction (for de-
layed branching, the address of the second instruction following call) to the stack as the return address. When
the ret instruction is executed at the end of the subroutine, this address is loaded into the PC, and the program
returns to it from the subroutine.
Note that because the instruction length is fixed to 16 bits, the least significant bit of the displacement is always
handled as 0 (sign10 doubled, rb is not doubled), causing the program to branch to an even address.
As with the PC relative jump instructions, the specifiable displacement can be extended by the ext instruction.
For details on how to extend the displacement, refer to the “(1) PC relative jump instructions.”
(4) Absolute call instructions
The absolute call instruction calla causes the program to unconditionally call a subroutine starting from the
location indicated by the content of a specified general-purpose register (rb) or an immediate imm7 (can be ex-
tended to imm20 or imm24 using the ext instruction) as the absolute address. When the content of the rb regis-
ter or the immediate is loaded into the PC, its least significant bit is always made 0. (Refer to the “(2) Absolute
jump instructions.”)
(5) Software interrupts
The software interrupts int and intl are the instructions that cause the software to generate an interrupt with
the vector numbers specified by the operand imm5, by which a specified interrupt handler routine can be ex-
ecuted. When a software interrupt occurs, the processor saves the PSR and the instruction address next to int/
intl to the stack, and reads the specified vector from the vector table in order to execute an interrupt handler
routine. Therefore, to return from the interrupt handler routine, the reti instruction must be used, as it restores
the PSR as well as the PC from the stack. For details on the software interrupt, refer to Section 6.3, “Interrupts.”
(6) Return instructions
The ret instruction, which is a return instruction for the call and calla instructions, loads the saved return
address from the stack into the PC as it terminates the subroutine. Therefore, the value of the SP when the ret
instruction is executed must be the same as when the subroutine was executed (i.e., one that indicates the return
address).
The reti instruction is a return instruction for the interrupt handler routine. Since the PSR is saved to the
stack along with the return address in interrupt handling, the content of the PSR must be restored from the stack
using the reti instruction. In the reti instruction, the PC and the PSR are read out of the stack in that order.
As in the case of the ret instruction, the value of the SP when the reti instruction is executed must be the
same as when the subroutine was executed.
(7) Debug interrupts
The brk and retd instructions are used to call a debug interrupt handler routine, and to return from that rou-
tine. Since these instructions are basically provided for the debug firmware, please do not use them in applica-
tion programs. For details on the functionality of these instructions, refer to Section 6.5, “Debug Circuit.”
相关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