8-22
EPSOn
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
8 aSSEMBlEr
These extended instructions allow a branch destination to be specified using a 20-bit/24-bit immediate or
a label. The branch conditions of these conditional jump instructions are the same as those of the basic
instructions.
The extended instructions can be used as delayed branch instructions by adding "
.d
".
Example:
xcall.d
sign24
Basic instructions after expansion
scall
,
scall.d
,
xcall
,
xcall.d
Expanded into the
call/call.d
instruction
scalla
,
scalla.d
,
xcalla
,
xcalla.d
Expanded into the
calla/calla.d
instruction
sjpa
,
sjpa.d
,
xjpa
,
xjpa.d
Expanded into the
jpa/jpa.d
instruction
sjpr
,
sjpr.d
,
xjpr
,
xjpr.d
Expanded into the
jpr/jpr.d
instruction
sjreq
,
sjreq.d
,
xjreq
,
xjreq.d
Expanded into the
jreq/jreq.d
instruction
sjrne
,
sjrne.d
,
xjrne
,
xjrne.d
Expanded into the
jrne/jrne.d
instruction
sjrgt
,
sjrgt.d
,
xjrgt
,
xjrgt.d
Expanded into the
jrgt/jrgt.d
instruction
sjrge
,
sjrge.d
,
xjrge
,
xjrge.d
Expanded into the
jrge/jrge.d
instruction
sjrlt
,
sjrlt.d
,
xjrlt
,
xjrlt.d
Expanded into the
jrlt/jrlt.d
instruction
sjrle
,
sjrle.d
,
xjrle
,
xjrle.d
Expanded into the
jrle/jrle.d
instruction
sjrugt
,
sjrugt.d
,
xjrugt
,
xjrugt.d
Expanded into the
jrugt/jrugt.d
instruction
sjruge
,
sjruge.d
,
xjruge
,
xjruge.d
Expanded into the
jruge/jruge.d
instruction
sjrult
,
sjrult.d
,
xjrult
,
xjrult.d
Expanded into the
jrult/jrult.d
instruction
sjrule
,
sjrule.d
,
xjrule
,
xjrule.d
Expanded into the
jrule/jrule.d
instruction
Expansion formats
(1)
s
OP
label
±
imm20
(
OP
=
call
,
call.d
,
jpr
,
jpr.d
)
Example:
scall
label
±
imm20
Unconditional
ext (
label
±
imm20
)(19:12)
call (
label
±
imm20
)(11:1)
(2)
s
OP
label
±
imm20
(
OP
=
jr*
,
jr*.d
)
Example:
sjreq
label
±
imm20
Unconditional
ext (
label
±
imm20
)(19:8)
jreq (
label
±
imm20
)(7:1)
(3)
s
OP
label
±
imm20
(
OP
=
calla
,
calla.d
,
jpa
,
jpa.d
)
Example:
scalla
label
±
imm20
Unconditional
ext (
label
±
imm20
)(19:7)
calla (
label
±
imm20
)(6:0)
(4)
s
OP
sign20
(
OP
=
call
,
call.d
,
jpr
,
jpr.d
)
Example:
scall
sign20
-1024
≤
sign20
≤
1023
sign20
< -1024
or
1023 <
sign20
call
sign20
(11:1)
ext
sign20
(19:12)
call
sign20
(11:1)
(5)
s
OP
sign20
(
OP
=
jr*
,
jr*.d
)
Example:
sjreq
sign20
-128
≤
sign20
≤
127
sign20
< -128
or
127 <
sign20
jreq
sign20
(7:1)
ext
sign20
(19:8)
jreq
sign20
(7:1)
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 ...