Applied Instructions
Common statements of XC3/XC5
SHL Arithmetic Shift Left
SHR Arithmetic Shift Right
LSL Logic shift left
LSR Logic shift right
ROL Rotation shift left
ROR Rotation shift right
SFTL Bit shift left
SFTR Bit shift right
WSFL Word shift left
Data Shift
WSFR Word shift right
WTD Single word integer converts to double word integer
FLT 32 bits integer converts to float point
FLTD 64 bits integer converts to float point
INT Float point converts to binary
BIN BCD converts to binary
BCD Binary converts to BCD
ASC Hex. converts to ASCII
HEX ASCII converts to Hex.
DECO Coding
ENCO High bit coding
Data
Convert
ENCOL Low bit coding
ECMP Float compare
EZCP Float Zone compare
EADD Float Add
ESUB Float Subtract
EMUL Float Multiplication
EDIV Float division
ESQR Float Square Root
SIN Sine
COS Cosine
Float
Point
eration
TAN Tangent
Op
TCMP Time Compare
TZCP Time Zone Compare
TADD Time Add
TSUB Time Subtract
TRD Read RTC data
Clock
Operation
TWR Set RTC data
67