Processing details
• These instructions decrement the 16-bit binary data in the device specified by (d) by one.
(d)
b15
b0
b15
···
5678 (BIN)
-1
• When the DEC(P) instruction is executed while the data in the device specified by (d) is -32768, 32767 is stored in the
device specified by (d).
• When the DEC(P)_U instruction is executed while the data in the device specified by (d) is 0, 65535 is stored in the device
specified by (d).
Operation error
There is no operation error.
(d)
b0
···
5677 (BIN)
6 BASIC INSTRUCTIONS
6.2 Arithmetic Operation Instructions
6
295