
7 DETAILS OF INSTRUCTIONS
164
EPSON
S1C33 FAMILY C33 PE CORE MANUAL
sub %sp, imm10
Function
Subtraction
Standard) sp
← sp - imm10 × 4
Extension 1) Unusable
Extension 2) Unusable
Code
15 12 11 10 9 0
1 0 0 0 0 1
imm10
0x84__
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Flag
IE C V Z N
– – – – –
|
|
|
|
Mode
Src: Immediate data (unsigned)
Dst: Register direct (SP)
CLK
One cycle
Description
(1) Standard
Quadruples the 10-bit immediate
imm10 and subtracts it from the stack pointer SP. The imm10
is zero-extended into 32 bits prior to the operation.
(2) Delayed instruction
This instruction may be executed as a delayed instruction by writing it directly after a branch
instruction with the “d” bit.
Example
sub %sp,0x100 ; sp = sp - 0x400
Comentarios a estos manuales