5-1SectionCPM2B Function Codes
72
5-1 CPM2B Function CodesThe following table lists the CPM2B instructions that have fixed function codes.
Each instruction is listed by mnemonic and by instruction name. Use the num-
bers in the leftmost column as the left digit and the number in the column heading
as the right digit of the function code.
Left Right digit
digit 0 1 2 3 4 5 6 7 8 9
0NOP
NO
OPERATION
END
END IL
INTERLOCK ILC
INTERLOCK
CLEAR
JMP
JUMP JME
JUMP END (@) FAL
FAILURE
ALARM AND
RESET
FALS
SEVERE
FAILURE
ALARM
STEP
STEP
DEFINE
SNXT
STEP START
1SFT
SHIFT
REGISTER
KEEP
KEEP CNTR
REVERS-
IBLE
COUNTER
DIFU
DIFFER-
ENTIATE UP
DIFD
DIFFER-
ENTIATE
DOWN
TIMH
HIGH-
SPEED
TIMER
(@) WSFT
WORD
SHIFT
(@) ASFT
ASYNCHRO-
NOUS SHIFT
REGISTER
--- ---
2CMP
COMPARE (@) MOV
MOVE (@) MVN
MOVE NOT (@) BIN
BCD TO
BINARY
(@) BCD
BINARY TO
BCD
(@) ASL
SHIFT LEFT (@) ASR
SHIFT
RIGHT
(@) ROL
ROTATE
LEFT
(@) ROR
ROTATE
RIGHT
(@) COM
COMPLE-
MENT
3(@) ADD
BCD ADD (@) SUB
BCD
SUBTRACT
(@) MUL
BCD
MULTIPLY
(@) DIV
BCD
DIVIDE
(@) ANDW
LOGICAL
AND
(@) ORW
LOGICAL OR (@) XORW
EXCLUSIVE
OR
(@) XNRW
EXCLUSIVE
NOR
(@) INC
INCREMENT (@) DEC
DECRE-
MENT
4(@) STC
SET CARRY (@) CLC
CLEAR
CARRY
--- --- --- --- (@) MSG
MESSAGE
DISPLAY
(@) RXD
RECEIVE (@) TXD
TRANSMIT ---
5(@) ADB
BINARY ADD (@) SBB
BINARY
SUBTRACT
(@) MLB
BINARY
MULTIPLY
(@) DVB
BINARY
DIVIDE
(@) ADDL
DOUBLE
BCD ADD
(@) SUBL
DOUBLE
BCD
SUBTRACT
(@) MULL
DOUBLE
BCD
MULTIPLY
(@) DIVL
DOUBLE
BCD
DIVIDE
(@) BINL
DOUBLE
BCD-TO-
DOUBLE
BINARY
(@) BCDL
DOUBLE
BINARY-TO-
DOUBLE
BCD
6CMPL
DOUBLE
COMPARE
(@) INI
MODE CON-
TROL
(@) PRV
HIGH-
SPEED
COUNTER
PV READ
(@) CTBL
COMPARI-
SON TABLE
LOAD
(@) SPED
SPEED OUT-
PUT
(@) PULS
SET PULSES (@) SCL
SCALING (@) BCNT
BIT COUNT-
ER
(@) BCMP
BLOCK
COMPARE
(@) STIM
INTERVAL
TIMER
7(@) XFER
BLOCK
TRANSFER
(@) BSET
BLOCK SET --- (@) XCHG
DATA
EXCHANGE
(@) SLD
ONE DIGIT
SHIFT LEFT
(@) SRD
ONE DIGIT
SHIFT
RIGHT
(@) MLPX
4-TO-16
DECODER
(@) DMPX
16-TO-4
ENCODER
(@) SDEC
7-SEGMENT
DECODER
---
8(@) DIST
SINGLE
WORD
DISTRIBUTE
(@) COLL
DATA
COLLECT
(@) MOVB
MOVE BIT (@) MOVD
MOVE DIGIT (@) SFTR
REVERS-
IBLE SHIFT
REGISTER
(@) TCMP
TABLE
COMPARE
(@) ASC
ASCII
CONVERT
--- --- (@) INT
INTERRUPT
CONTROL
9--- (@) SBS
SUBROU-
TINE
ENTRY
SBN
SUBROU-
TINE
DEFINE
RET
SUBROU-
TINE
RETURN
--- --- --- (@) IORF
I/O
REFRESH
--- (@) MCRO
MACRO