2 CPU
S1C33L26 TECHNICAL MANUAL
Seiko Epson Corporation
2-5
3.4 Instructions Removed
Table 2.
Classification
Mnemonic
Function
Arithmetic operation
div0s
%rs
First step in signed integer division
div0u
%rs
First step in unsigned integer division
div1
%rs
Execution of step division
div2s
%rs
Data correction for the result of signed integer division 1
div3s
Data correction for the result of signed integer division 2
Other
mirror
%rd,%rs
Bitwise swap every byte in word
mac
%rs
Multiply-accumulate operation 16 bits
×
16 bits + 64 bits
→
64 bits
scan0
%rd,%rs
Search for bits whose value = 0
scan1
%rd,%rs
Search for bits whose value = 1
The symbols in the above table each have the meanings specified below.
3.5 Symbol Meanings
Table 2.
Symbol
Description
%rs
General-purpose register, source
%rd
General-purpose register, destination
%ss
Special register, source
%sd
Special register, destination
[%rb]
General-purpose register, indirect addressing
[%rb]+
General-purpose register, indirect addressing with postincrement
%sp
Stack pointer
imm2,imm4,imm3,imm5,
imm6,imm10,imm13
Unsigned immediate (numerals indicating bit length)
However, numerals in shift instructions indicate the number of bits shifted, while those in bit manipulation
indicate bit positions.
sign6,sign8
Signed immediate (numerals indicating bit length)
Debug Mode
2.4
The C33 PE Core has debug mode to assist in software development by the user.
The debug mode provides the following functions:
Instruction Break
A debug exception is generated before the set instruction address is executed. An instruction break can be set at
three addresses.
Data Break
A debug exception is generated when the set address is accessed for read or write.
A data break can be set at only one address.
Single Step
A debug exception is generated for each instruction.
Forcible Break
A debug exception is generated by an external input signal.
PC Trace
The status of instruction execution by the processor is traced.
When a debug exception occurs, the processor performs the following processing:
(1) Suspends the instruction currently being executed.
A debug exception is generated at the end of the E stage of the currently executed instruction, and is accepted at
the next rise of the system clock.
(2) Saves the contents of the PC and R0, in that order, to the addresses specified below.
PC
→
0x60008
R0
→
0x6000c
(3) Loads the debug exception vector located at the address 0x00060000 to PC and branches to the debug excep-
tion handler routine.