DIS
DIS, DISP, UNI, UNIP
DIS instruction moves 4 bits of source to the lowest bit of each number of Destination.
UNI instruction moves the lowest 4 bits of each source to the Destination.
S | Source |
D | Destination |
n | Number of 4bits to move |
Instruction | Device address | No. of Steps | Flag | |||||||||||||||
M | X | Y | K | L | F | T | C | S | Z | D | @D | Int. | Error | Zero | Carry | |||
DIS(P) UNI(P) | S | o | o | o | o | o | o | o | o | - | o | o | o | o | 4 | o | - | - |
D | o | - | o | o | o | - | o | o | - | o | o | o | - | |||||
n | o | o | o | o | o | o | o | o | - | o | o | o | o |
DIS, DISP
When enabled, the DIS instruction moves each 4 bits of source to the lowest bit of number (n) of the Destination.
You can choose 1~4 for (n). The bits from b4 to b15 become 0.
If n is 0, there will be no change in the Destination.
Example)
If X01 is ON, DISP instruction moves 4bits of D0 to the lowest bit of D20, D21, D22, and D23 (n=4). The lowest 4bits of D0 is stored from starting device D20.
UNI, UNIP
When enabled, the UNI instruction moves the lowest 4bits from (n) number of source to the Destination.
You can choose 1~4 for (n). The bits from b4 to b15 become 0.
If n is 0, there will be no change in the Destination.
Example)
If X03 is ON, UNIPS instruction moves each 4 bits of D20, D21, and D22 (n=3) to D10. The starting device D20 is stored from the lowest bit of D10.