Omron CS1G/H-CPUxxH Instructions Manual page 77

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Instruction Functions
Instruction
Symbol/Operand
Mnemonic
Code
DATA ENCODER
DMPX(077)
DMPX
@DMPX
077
S: 1st source
word
R: Result word
C: Control word
ASCII CONVERT
ASC(086)
ASC
@ASC
086
S: Source word
Di: Digit
designator
D: 1st destination
word
56
FInds the location of the first or last ON bit within the source word (or
16-word range), and writes that value to the specified digit (or byte) in
the result word.
S
16-to-4 bit conversion
R
FInds leftmost bit
C
(Highest bit address)
16-to-4 bit decoding
(Location of left
most bit (m) is writ-
ten to R.)
R
256-to-8 bit conversion
l=0 (Convert one 16-word range.)
Finds leftmost bit
(Highest bit address)
R
Converts 4-bit hexadecimal digits in the source word into their 8-bit
ASCII equivalents.
S
Di
D
Number of
digits (n+1)
Left (1)
Function
C
Leftmost bit
n=2 (Start with digit 2.)
C
Leftmost bit
256-to-8 bit decoding
(The location of the leftmost bit in the
16-word range (m) is written to R.)
n=1 (Start with byte 1.)
Di
First digit to convert
Right (0)
Section 2-2
Location
Execution
condition
Output
Required
l=1 (Convert
2 words.)
Rightmost bit
Output
Required
Page
445
449

Advertisement

Table of Contents
loading

Table of Contents