2 CPU
S1C17001 TECHNICAL MANUAL
EPSON
7
2.3 Command Set
The S1C17 core command codes are all 16-bit and fixed-length. Major commands are executed in a single cycle
using pipeline processing. For more information on the various commands, refer to the
S1C17 Family S1C17 Core
Manual
.
Table 2.3.1: S1C17 core command list
Type
Mnemonic
Function
Data transfer
ld.b
%rd,%rs
General purpose register (byte)
➔
General purpose register (sign extension)
%rd,[%rb]
Memory (byte)
➔
General purpose register (sign extension)
Memory address post-increment/post-decrement
A pre-decrement function can be used
%rd,[%rb]+
%rd,[%rb]-
%rd,-[%rb]
%rd,[%sp+imm7]
Stack (byte)
➔
General purpose register (sign extension)
%rd,[imm7]
Memory (byte)
➔
General purpose register (sign extension)
[%rb],%rs
General purpose register (byte)
➔
Memory
Memory address post-increment/post-decrement
A pre-decrement function can be used
[%rb]+,%rs
[%rb]-,%rs
-[%rb],%rs
[%sp+imm7],%rs
General purpose register (byte)
➔
Stack
[imm7],%rs
General purpose register (byte)
➔
Memory
ld.ub
%rd,%rs
General purpose register (byte)
➔
General purpose register (zero extension)
%rd,[%rb]
Memory (byte)
➔
General purpose register (zero extension)
Memory address post-increment/post-decrement
A pre-decrement function can be used
%rd,[%rb]+
%rd,[%rb]-
%rd,-[%rb]
%rd,[%sp+imm7]
Stack (byte)
➔
General purpose register (zero extension)
%rd,[imm7]
Memory (byte)
➔
General purpose register (zero extension)
ld
%rd,%rs
General purpose register (16 bits)
➔
General purpose register
%rd,sign7
Immediate
➔
General purpose register (sign extension)
%rd,[%rb]
Memory (16 bits)
➔
General purpose register
Memory address post-increment/post-decrement
A pre-decrement function can be used
%rd,[%rb]+
%rd,[%rb]-
%rd,-[%rb]
%rd,[%sp+imm7]
Stack (16 bits)
➔
General purpose register
%rd,[imm7]
Memory (16 bits)
➔
General purpose register
[%rb],%rs
General purpose register (16 bits)
➔
Memory
Memory address post-increment/post-decrement
A pre-decrement function can be used
[%rb]+,%rs
[%rb]-,%rs
-[%rb],%rs
[%sp+imm7],%rs
General purpose register (16 bits)
➔
Stack
[imm7],%rs
General purpose register (16 bits)
➔
Memory
ld.a
%rd,%rs
General purpose register (24 bits)
➔
General purpose register
%rd,imm7
Immediate
➔
General purpose register (zero extension)
%rd,[%rb]
Memory (32 bits)
➔
General purpose register (*1)
Memory address post-increment/post-decrement
A pre-decrement function can be used
%rd,[%rb]+
%rd,[%rb]-
%rd,-[%rb]
%rd,[%sp+imm7]
Stack (32 bits)
➔
General purpose register (*1)
%rd,[imm7]
Memory (32 bits)
➔
General purpose register (*1)
[%rb],%rs
General purpose register (32 bits, zero extension)
➔
Memory (*1)
Memory address post-increment/post-decrement
A pre-decrement function can be used
[%rb]+,%rs
[%rb]-,%rs
-[%rb],%rs
[%sp+imm7],%rs
General purpose register (32 bits, zero extension)
➔
Stack (*1)
[imm7],%rs
General purpose register (32 bits, zero extension)
➔
Memory (*1)
%rd,%sp
SP
➔
General purpose register
%rd,%pc
PC
➔
General purpose register
%rd,[%sp]
Stack (32 bits)
➔
General purpose register (*1)
Stack pointer post-increment/post-decrement
A pre-decrement function can be used
%rd,[%sp]+
%rd,[%sp]-
%rd,-[%sp]
Summary of Contents for S1C17001
Page 1: ...Technical Manual S1C17001 CMOS 16 BIT SINGLE CHIP MICROCONTROLLER ...
Page 33: ...4 POWER SUPPLY VOLTAGE 24 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 63: ...6 INITERRUPT CONTROLLER 54 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 87: ...8 CLOCK GENERATOR CLG 78 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 91: ...9 PRESCALER PSC 82 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 133: ...11 16 BIT TIMER T16 124 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 211: ...16 STOPWATCH TIMER SWT 202 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 219: ...17 WATCHDOG TIMER WDT 210 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 241: ...18 UART 232 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 277: ...20 I2 C 268 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 313: ...25 PACKAGE 304 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...