3. Instruction Set
3-29
Mnemonics Applicable to STEPS
API
16 bits 32 bits
PULSE
Function
ES2
EX2
SS2
SA2
SE 2
SX2 16-bit 32-bit
127 - DESQR
Floating point square root
- 9
128 - DPOW
Floating point power operation
- 13
129 INT DINT
Float to integer
5 9
130 - DSIN
Sine
- 9
131 - DCOS
Cosine
- 9
132 - DTAN
Tangent
- 9
133 - DASIN
Arc Sine
- 9
134 - DACOS
Arc Cosine
- 9
135 - DATAN
Arc Tangent
- 9
172 - DADDR
Floating point addition
- 13
173 - DSUBR
Floating point subtraction
- 13
174 - DMULR
Floating point multiplication
- 13
175 - DDIVR
Floating point division
- 13
Additional Instruction
Mnemonic Applicable to STEPS
API
16 bits 32 bits
PULSE
Function
ES2
EX2
SS2
SA
2
SX2 SE 16-bit 32-bit
143 DELAY -
Delay
3 -
144 GPWM - - General PWM output
7 -
147 SWAP DSWAP
Byte swap
3 5
148 MEMR -
Reading the data from the file
register
-
- 7 -
149 MEMW -
Writing the data into the file
register
-
- 7 -
154 RAND DRAND
Random number
7 13
168 MVM DMVM
Mask and combine designated
Bits
7 13
176 MMOV –
16-bit→32-bit Conversion
5 –
177 GPS - - GPS data receiving
- 5 -
178 - DSPA - Solar cell positioning
- – 9
179 WSUM DWSUM
Sum of multiple devices
7 13
202 SCAL -
Proportional value calculation
9 -
203 SCLP DSCLP
Parameter proportional value
calculation
9 13