452
Programming Instructions Appendix A
12 CNTR REVERSIBLE
COUNTER
Increases or decreases PV by one whenever the increment
input or decrement input signals, respectively, go from OFF to
ON.
216
13 DIFU DIFFERENTIATE UP Turns ON the designated bit for one cycle on the rising edge of
the input signal.
204
14 DIFD DIFFERENTIATE
DOWN
Turns ON the bit for one cycle on the trailing edge. 217
15 TIMH HIGH-SPEED TIMER A high-speed, ON-delay (decrementing) timer. 217
16 (@)WSFT WORD SHIFT Shifts data between starting and ending words in word units,
writing zeros into starting word.
230
17 to 19 For expansion instructions. 118
20 CMP COMPARE Compares the contents of two words and outputs result to GR,
EQ, and LE Flags.
248
21 (@)MOV MOVE Copies source data (word or constant) to destination word. 237
22 (@)MVN MOVE NOT Inverts source data (word or constant) and then copies it to
destination word.
238
23 (@)BIN BCD TO BINARY Converts four-digit, BCD data in source word into 16-bit binary
data, and outputs converted data to result word.
258
24 (@)BCD BINARY TO BCD Converts binary data in source word into BCD, and outputs
converted data to result word.
259
25 (@)ASL ARITHMETIC SHIFT
LEFT
Shifts each bit in single word of data one bit to left, with CY. 230
26 (@)ASR ARITHMETIC SHIFT
RIGHT
Shifts each bit in single word of data one bit to right, with CY. 231
27 (@)ROL ROTATE LEFT Rotates bits in single word of data one bit to left, with CY. 231
28 (@)ROR ROTATE RIGHT Rotates bits in single word of data one bit to right, with CY. 232
29 (@)COM COMPLEMENT Inverts bit status of one word of data. 316
30 (@)ADD BCD ADD Adds two four-digit BCD values and content of CY, and outputs
result to specified result word.
285
31 (@)SUB BCD SUBTRACT Subtracts a four-digit BCD value and CY from another four-
digit BCD value and outputs result to the result word.
286
32 (@)MUL BCD MULTIPLY Multiplies two four-digit BCD values and outputs result to
specified result words.
288
33 (@)DIV BCD DIVIDE Divides four-digit BCD dividend by four-digit BCD divisor and
outputs result to specified result words.
289
34 (@)ANDW LOGICAL AND Logically ANDs two 16-bit input words and sets corresponding
bit in result word if corresponding bits in input words are both
ON.
316
35 (@)ORW LOGICAL OR Logically ORs two 16-bit input words and sets corresponding
bit in result word if one or both of corresponding bits in input
data are ON.
317
36 (@)XORW EXCLUSIVE OR Exclusively ORs two 16-bit input words and sets bit in result
word when corresponding bits in input words differ in status.
318
37 (@)XNRW EXCLUSIVE NOR Exclusively NORs two 16-bit input words and sets bit in result
word when corresponding bits in input words are same in sta-
tus.
318
38 (@)INC BCD INCREMENT Increments four-digit BCD word by one. 319
39 (@)DEC BCD DECREMENT Decrements four-digit BCD word by one. 319
40 (@)STC SET CARRY Sets carry flag (i.e., turns CY ON). 285
41 (@)CLC CLEAR CARRY Clears carry flag (i.e, turns CY OFF). 285
45 TRSM TRACE MEMORY
SAMPLE
Initiates data tracing.
Cannot be used with CQM1-CPU11/21-E/CPM1/CPM1A /
SRM1.
323
46 (@)MSG MESSAGE Displays a 16-character message on the Programming Con-
sole display.
325
Code Mnemonic Name Function Page