Reference
Opcode
xjr
∗1
xjr
∗1
.d
xcalla
xcalla.d
xjpa
xjpa.d
sld.cw
sld.ca
sld.cf
xld.cw
xld.ca
xld.cf
Operand
label
±
imm24
Example) xjreq label+imm24
sign24
Example) xjrne sign24
label
±
imm24
Example) xcalla label+imm24
imm24
Example) xjpa imm24
%rd, imm20
Example) sld.cw %rd, imm20
%rd, symbol
±
imm20
Example) sld.ca %rd, imm20
%rd, imm24
Example) xld.cw %rd, imm24
%rd, symbol
±
imm24
Example) xld.ca %rd, imm24
Extended instruction
Expansion format
Condition 1
Unconditional
ext
(label+imm24)(23:21)
ext
(label+imm24)(20:8)
jreq
(label+imm24)(7:1)
-128
≤
sign24
≤
127
jrne
sign24(7:1)
Unconditional
ext
(label+imm24)(23:20)
ext
(label+imm24)(19:7)
calla (label+imm24)(6:0)
imm24
≤
0x7f
jpa
imm24(6:0)
imm20
≤
0x7f
ld.cw %rd, imm20(6:0)
Unconditional
ext
(imm20)(19:7)
ld.ca %rd, (imm20)(6:0)
imm24
≤
0x7f
ld.cw %rd, imm24(6:0)
Unconditional
ext
(imm24)(23:20)
ext
(imm24)(19:7)
ld.ca %rd, (imm24)(6:0)
Condition 2
–
-1048576
≤
sign24<-128 or 127<sign24
≤
1048575
ext
sign24(20:8)
jrne
sign24(7:1)
–
0x7f<imm24
≤
0xfffff
ext
imm24(19:7)
jpa
imm24(6:0)
0x7f<imm20
ext
imm20(19:7)
ld.cw %rd, imm20(6:0)
–
0x7f<imm24
≤
0xfffff
ext
imm24(19:7)
ld.cw %rd, imm24(6:0)
–
Condition 3
–
sign24<-1048576 or 1048575<sign24
ext
sign24(23:21)
ext
sign24(20:8)
jrne
sign24(7:1)
–
0xfffff<imm24
ext
imm24(23:20)
ext
imm24(19:7)
jpa
imm24(6:0)
–
–
0xfffff<imm24
ext
imm24(23:20)
ext
imm24(19:7)
ld.cw %rd, imm24(6:0)
–
Expansion Format of Extended Instructions (6)
Assembly Programming
Remarks
∗
1) xjreq, xjreq.d, xjrne, xjrne.d, xjrgt, xjrgt.d, xjrge, xjrge.d, xjrlt, xjrlt.d, xjrle, xjrle.d, xjrugt, xjrugt.d, xjruge, xjruge.d, xjrult, xjrult.d, xjrule, xjrule.d
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 ...