Reference
Opcode
ld.b
sld.b
xld.b
ld.ub
sld.ub
xld.ub
Operand
%rd, %rs
%rd, [%rb]
%rd, [%rb]+
%rd, [%rb]-
%rd, -[%rb]
%rd, [%sp+imm7]
%rd, [imm7]
[%rb], %rs
[%rb]+, %rs
[%rb]-, %rs
-[%rb], %rs
[%sp+imm7], %rs
[imm7], %rs
%rd, [%sp+imm20]
%rd, [imm20]
[%sp+imm20], %rs
[imm20], %rs
%rd, [%sp+imm24]
%rd, [imm24]
[%sp+imm24], %rs
[imm24], %rs
%rd, %rs
%rd, [%rb]
%rd, [%rb]+
%rd, [%rb]-
%rd, -[%rb]
%rd, [%sp+imm7]
%rd, [imm7]
%rd, [%sp+imm20]
%rd, [imm20]
%rd, [%sp+imm24]
%rd, [imm24]
Function
rd(7:0)
←
rs(7:0), rd(15:8)
←
rs(7), rd(23:16)
←
0
rd(7:0)
←
B[rb], rd(15:8)
←
B[rb](7), rd(23:16)
←
0
rd(7:0)
←
B[rb], rd(15:8)
←
B[rb](7), rd(23:16)
←
0, rb(23:0)
←
rb(23:0)+1
rd(7:0)
←
B[rb], rd(15:8)
←
B[rb](7), rd(23:16)
←
0, rb(23:0)
←
rb(23:0)-1
rb(23:0)
←
rb(23:0)-1, rd(7:0)
←
B[rb], rd(15:8)
←
B[rb](7), rd(23:16)
←
0
rd(7:0)
←
B[sp+imm7], rd(15:8)
←
B[sp+imm7](7), rd(23:16)
←
0
rd(7:0)
←
B[imm7], rd(15:8)
←
B[imm7](7), rd(23:16)
←
0
B[rb]
←
rs(7:0)
B[rb]
←
rs(7:0), rb(23:0)
←
rb(23:0)+1
B[rb]
←
rs(7:0), rb(23:0)
←
rb(23:0)-1
rb(23:0)
←
rb(23:0)-1, B[rb]
←
rs(7:0)
B[sp+imm7]
←
rs(7:0)
B[imm7]
←
rs(7:0)
%rd
←
B[%sp+imm20](with sign extension)
%rd
←
B[imm20](with sign extension)
B[%sp+imm20]
←
%rs(7:0)
B[imm20]
←
%rs(7:0)
%rd
←
B[%sp+imm24](with sign extension)
%rd
←
B[imm24](with sign extension)
B[%sp+imm24]
←
%rs(7:0)
B[imm24]
←
%rs(7:0)
rd(7:0)
←
rs(7:0), rd(15:8)
←
0, rd(23:16)
←
0
rd(7:0)
←
B[rb], rd(15:8)
←
0, rd(23:16)
←
0
rd(7:0)
←
B[rb], rd(15:8)
←
0, rd(23:16)
←
0, rb(23:0)
←
rb(23:0)+1
rd(7:0)
←
B[rb], rd(15:8)
←
0, rd(23:16)
←
0, rb(23:0)
←
rb(23:0)-1
rb(23:0)
←
rb(23:0)-1, rd(7:0)
←
B[rb], rd(15:8)
←
0, rd(23:16)
←
0
rd(7:0)
←
B[sp+imm7], rd(15:8)
←
0, rd(23:16)
←
0
rd(7:0)
←
B[imm7], rd(15:8)
←
0, rd(23:16)
←
0
%rd
←
B[%sp+imm20](with zero extension)
%rd
←
B[imm20](with zero extension)
%rd
←
B[%sp+imm24](with zero extension)
%rd
←
B[imm24](with zero extension)
D
–
–
–
–
–
–
–
–
–
–
–
–
IL
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
IE
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
Z
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
N
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
C
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
V
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
Mnemonic
Classification
Signed 8-bit data
transfer
Unsigned 8-bit
data transfer
Flags
Instruction List (2)
Assembly Programming
Remarks
Summary of Contents for S5U1C17001C
Page 6: ......
Page 17: ...1 General S5U1C17001C Manual 1 General ...
Page 18: ......
Page 21: ...1 2 Install S5U1C17001C Manual 2 Installation ...
Page 22: ......
Page 29: ...3 SoftDev S5U1C17001C Manual 3 Software Development Procedures ...
Page 30: ......
Page 103: ...4 SrcFiles S5U1C17001C Manual 4 Source files ...
Page 104: ......
Page 121: ...5 IDE S5U1C17001C Manual 5 gnU17 iDE ...
Page 122: ......
Page 365: ...6 Compiler S5U1C17001C Manual 6 C Compiler ...
Page 366: ......
Page 385: ...7 Library S5U1C17001C Manual 7 library ...
Page 386: ......
Page 405: ...8 Assemblr S5U1C17001C Manual 8 assembler ...
Page 406: ......
Page 439: ...9 Linker S5U1C17001C Manual 9 linker ...
Page 440: ......
Page 449: ...10 Debugger S5U1C17001C Manual 10 Debugger ...
Page 450: ......
Page 626: ...11 Tools S5U1C17001C Manual 11 Other Tools ...
Page 627: ......
Page 696: ...S1C17 Family C Compiler Package Quick Reference Reference ...