EasyManua.ls Logo

FATEK FBS-40EA Series - Page 101

FATEK FBS-40EA Series
348 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
3-5
Data Movement Instructions
FUN
No.
Name Operand
Derivative
instruction
Function descriptions
8
MOV S,D DP Transfer the W or DW data specified at S to D
9
MOV/ S,D DP
Invert the W or DW data specified at S, and then transfers the result
to D
40 BITRD S,N DP
Read the status of the bits specified by N within S, and send it to
FO0
41 BITWR D,N DP Write the INB input status into the bits specified by N within D
42 BITMV S,Ns,D,Nd DP
Write the status of bit specified by N within S into the bit specified by
N within D
43 NBMV S,Ns,D,Nd DP Write the Ns nibble within S to the Nd nibble within D
44 BYMV S,Ns,D,Nd DP
Write the byte specified by Ns within S to the byte specified by Nd
within D
45 XCHG Da,Db DP Exchange the values of Da and Db
46 SWAP D P Swap the high-byte and low-byte of D
47 UNIT S,N,D P
Take the nibble 0 (NB0) of the successive N words starting from S
and combine the nibbles sequentially then store in D
48 DIST S,N,D P
De-compose the word into successive N nibbles starting from nibble
0 of S, and store them in the NB0 of the successive N words starting
from D
49 BUNIT S,N,D P Low byte of words re-unit
50 BDIST S,N,D P Words split into multi-byte
160 RW-FR Sa,Sb,Pr,L DP File register access
Shifting/Rotating Instructions
6
BSHF D DP Shift left or right 1 bit of D register
51 SHFL D,N DP
Shift left the D register N bits and move the last shifted out bits to
OTB. The empty bits will be replaced by INB input bit
52 SHFR D,N DP
Shift right the D register N bits and move the last shifted out bits to
OTB, The empty bits will be replaced by INB input bit
53 ROTL D,N DP
Rotate left the D operand N bits and move the last rotated out bits to
OTB
54 ROTR D,N DP
Rotate right the D operand N bits and move the last rotated out bits
to OTB
Code Conversion Instruction
20
BCD
S,D DP Convert binary data of S into BCD data and store the result to D
21
BIN
S,D DP Convert BCD data of S into binary data and store the result to D
55
BG
S,D DP Binary to Gray code conversion