Omron C200HX Operation Manual page 541

Hide thumbs Also See for C200HX:
Table of Contents

Advertisement

Programming Instructions
Code
Mnemonic
(@)52
MLB
BINARY MULTIPLY
(@)53
DVB
BINARY DIVIDE
(@)54
ADDL
DOUBLE BCD ADD
(@)55
SUBL
DOUBLE BCD
SUBTRACT
(@)56
MULL
DOUBLE BCD
MULTIPLY
(@)57
DIVL
DOUBLE BCD
DIVIDE
(@)58
BINL
DOUBLE BCD TO
DOUBLE BINARY
(@)59
BCDL
DOUBLE BINARY TO
DOUBLE BCD
60 to 69
For expansion instructions.
(@)70
XFER
BLOCK TRANSFER
(@)71
BSET
BLOCK SET
(@)72
ROOT
SQUARE ROOT
(@)73
XCHG
DATA EXCHANGE
(@)74
SLD
ONE DIGIT SHIFT
LEFT
(@)75
SRD
ONE DIGIT SHIFT
RIGHT
(@)76
MLPX
4-TO-16/8-TO-256
DECODER
(@)77
DMPX
16-TO-4/256-TO-8
ENCODER
(@)78
SDEC
7-SEGMENT
DECODER
(@)79
FDIV
FLOATING POINT
DIVIDE
(@)80
DIST
SINGLE WORD
DISTRIBUTE
(@)81
COLL
DATA COLLECT
(@)82
MOVB
MOVE BIT
(@)83
MOVD
MOVE DIGIT
(@)84
SFTR
REVERSIBLE SHIFT
REGISTER
(@)85
TCMP
TABLE COMPARE
Name
Multiplies two four-digit hexadecimal values and outputs
result to specified result words.
Divides four-digit hexadecimal dividend by four-digit hexa-
decimal divisor and outputs result to specified result words.
Adds two eight-digit values (2 words each) and content of
CY, and outputs result to specified result words.
Subtracts an eight-digit BCD value and CY from another
eight-digit BCD value and outputs result to the result
words.
Multiplies two eight-digit BCD values and outputs result to
specified result words.
Divides eight-digit BCD dividend by eight-digit BCD divisor
and outputs result to specified result words.
Converts BCD value in two consecutive source words into
binary and outputs converted data to two consecutive re-
sult words.
Converts binary value in two consecutive source words
into BCD and outputs converted data to two consecutive
result words.
Moves content of several consecutive source words to
consecutive destination words.
Copies content of one word or constant to several consec-
utive words.
Computes square root of eight-digit BCD value and out-
puts truncated four-digit integer result to specified result
word.
Exchanges contents of two different words.
Left shifts data between starting and ending words by one
digit (four bits).
Right shifts data between starting and ending words by
one digit (four bits).
Converts up to four hexadecimal digits in source word into
decimal values from 0 to 15 and turns ON, in result
word(s), bit(s) whose position corresponds to converted
value.
Can also convert up to eight hexadecimal digits and turn
ON corresponding bits in result words R to R+15.
Determines position of highest ON bit in source word(s)
and writes the ON bit's position (0 to F) to digit(s) in R.
Can also determine the position of the highest ON bit in
one or two groups of 16 words (S to S+15, S+16 to S+31)
and writes the ON bit's position (00 to FF) to byte(s) in R.
Converts hexadecimal values from source word to data for
seven-segment display.
Divides one floating point value (Dd+1, Dd) by another
(Dr+1, Dr) and outputs the result to R+1 and R.
Moves one word of source data to destination word whose
address is given by destination base word plus offset.
Extracts data from source word and writes it to destination
word.
Transfers designated bit of source word or constant to des-
ignated bit of destination word.
Moves hexadecimal content of specified four-bit source
digit(s) to specified destination digit(s) for up to four digits.
Shifts data in specified word or series of words to either left
or right.
Compares four-digit hexadecimal value with values in table
consisting of 16 words.
Function
Appendix B
Page
248
248
230
233
236
237
205
206
182
181
241
183
177
177
209
212
215
238
183
185
187
188
173
199
523

Advertisement

Table of Contents
loading

This manual is also suitable for:

C200hgC200he

Table of Contents