Reference
Opcode
jreq / jreq.d
sjreq / sjreq.d
xjreq / xjreq.d
jrne / jrne.d
sjrne / sjrne.d
xjrne / xjrne.d
call / call.d
scall / scall.d
xcall / xcall.d
calla / calla.d
scalla / scalla.d
xcalla / xcalla.d
ret / ret.d
int
intl
reti / reti.d
brk
retd
sr
sa
sl
swap
Operand
sign7
label
±
imm20
sign20
label
±
imm24
sign24
sign7
label
±
imm20
sign20
label
±
imm24
sign24
%rb
sign10
label
±
imm20
sign20
label
±
imm24
sign24
%rb
imm7
label
±
imm20
imm20
label
±
imm24
imm24
imm5
imm5, imm3
%rd, %rs
%rd, imm7
%rd, %rs
%rd, imm7
%rd, %rs
%rd, imm7
%rd, %rs
Function
pc
←
pc+2+sign8 if Z is true; sign8={sign7,0}
pc
←
label
±
imm20 if Z is true
pc
←
pc+2+sign20 if Z is true
pc
←
label
±
imm24 if Z is true
pc
←
pc+2+sign24 if Z is true
pc
←
pc+2+sign8 if !Z is true; sign8={sign7,0}
pc
←
label
±
imm20 if !Z is true
pc
←
pc+2+sign20 if !Z is true
pc
←
label
±
imm24 if !Z is true
pc
←
pc+2+sign24 if !Z is true
sp
←
sp-4, A[sp]
←
pc+2(d=0)/4(d=1), pc
←
pc+2+rb
sp
←
sp-4, A[sp]
←
pc+2(d=0)/4(d=1), pc
←
pc+2+sign11; sign11={sign10,0}
sp
←
sp-4, A[sp]
←
pc+2(d=0)/4(d=1), pc
←
label
±
imm20
sp
←
sp-4, A[sp]
←
pc+2(d=0)/4(d=1), pc
←
pc+2+sign20
sp
←
sp-4, A[sp]
←
pc+2(d=0)/4(d=1), pc
←
label
±
imm24
sp
←
sp-4, A[sp]
←
pc+2(d=0)/4(d=1), pc
←
pc+2+sign24
sp
←
sp-4, A[sp]
←
pc+2(d=0)/4(d=1), pc
←
rb
sp
←
sp-4, A[sp]
←
pc+2(d=0)/4(d=1), pc
←
imm7
sp
←
sp-4, A[sp]
←
pc+2(d=0)/4(d=1), pc
←
label
±
imm20
sp
←
sp-4, A[sp]
←
pc+2(d=0)/4(d=1), pc
←
imm20
sp
←
sp-4, A[sp]
←
pc+2(d=0)/4(d=1), pc
←
label
±
imm24
sp
←
sp-4, A[sp]
←
pc+2(d=0)/4(d=1), pc
←
imm24
pc
←
A
[
sp](23:0), sp
←
sp+4
sp
←
sp-4, A[sp]
←
{psr, pc+2}, pc
←
vector(TTBR+imm5
×
4)
sp
←
sp-4, A[sp]
←
{psr, pc+2}, pc
←
vector(TTBR+imm5
×
4), psr(IL)
←
imm3
{psr, pc}
←
A[sp], sp
←
sp+4
A[DBRAM]
←
{psr, pc+2}, A[DBRAM+4]
←
r0, pc
←
0xfffc00
r0
←
A[DBRAM+4](23:0), {psr, pc}
←
A[DBRAM]
Logical shift to right; rd(15:0)
←
rd(15:0)>>rs(15:0), rd(23:16)
←
0, zero enters to MSB (
∗
1)
Logical shift to right; rd(15:0)
←
rd(15:0)>>imm7, rd(23:16)
←
0, zero enters to MSB (
∗
1)
Arithmetical shift to right; rd(15:0)
←
rd(15:0)>>rs(15:0), rd(23:16)
←
0, sign copied to MSB (
∗
1)
Arithmetical shift to right; rd(15:0)
←
rd(15:0)>>imm7, rd(23:16)
←
0, sign copied to MSB (
∗
1)
Logical shift to left; rd(15:0)
←
rd(15:0)<<rs(15:0), rd(23:16)
←
0, zero enters to LSB (
∗
1)
Logical shift to left; rd(15:0)
←
rd(15:0)<<imm7, rd(23:16)
←
0, zero enters to LSB (
∗
1)
rd(15:8)
←
rs(7:0), rd(7:0)
←
rs(15:8), rd(23:16)
←
0
D
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
IL
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
↔
↔
–
↔
–
–
–
–
–
–
–
IE
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
0
0
↔
0
↔
–
–
–
–
–
–
–
Z
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
↔
–
↔
↔
↔
↔
↔
↔
↔
–
N
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
↔
–
↔
↔
↔
↔
↔
↔
↔
–
C
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
↔
–
↔
↔
↔
↔
↔
↔
↔
–
V
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
↔
–
↔
–
–
–
–
–
–
–
Mnemonic
Classification
Branch
Shift and swap
Flags
Instruction List (9)
Assembly Programming
Remarks
∗
1) Number of bits to be shifted: Zero to three bits when rs/imm7 = 0–3, four bits when rs/imm7 = 4–7, eight bits when rs/imm7
≥
8
Содержание S5U1C17001C
Страница 6: ......
Страница 17: ...1 General S5U1C17001C Manual 1 General ...
Страница 18: ......
Страница 21: ...1 2 Install S5U1C17001C Manual 2 Installation ...
Страница 22: ......
Страница 29: ...3 SoftDev S5U1C17001C Manual 3 Software Development Procedures ...
Страница 30: ......
Страница 103: ...4 SrcFiles S5U1C17001C Manual 4 Source files ...
Страница 104: ......
Страница 121: ...5 IDE S5U1C17001C Manual 5 gnU17 iDE ...
Страница 122: ......
Страница 365: ...6 Compiler S5U1C17001C Manual 6 C Compiler ...
Страница 366: ......
Страница 385: ...7 Library S5U1C17001C Manual 7 library ...
Страница 386: ......
Страница 404: ...7 18 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 7 liBrary THIS PAGE IS BLANK ...
Страница 405: ...8 Assemblr S5U1C17001C Manual 8 assembler ...
Страница 406: ......
Страница 438: ...8 32 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 8 aSSEMBlEr THIS PAGE IS BLANK ...
Страница 439: ...9 Linker S5U1C17001C Manual 9 linker ...
Страница 440: ......
Страница 448: ...9 8 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 9 linkEr THIS PAGE IS BLANK ...
Страница 449: ...10 Debugger S5U1C17001C Manual 10 Debugger ...
Страница 450: ......
Страница 625: ...10 174 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 10 DEBUggEr THIS PAGE IS BLANK ...
Страница 626: ...11 Tools S5U1C17001C Manual 11 Other Tools ...
Страница 627: ......
Страница 695: ...11 68 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 11 OTHEr TOOlS THIS PAGE IS BLANK ...
Страница 696: ...S1C17 Family C Compiler Package Quick Reference Reference ...