KBP
Detailed Description
A code conversion is performed on the accumulator content, from 1 out of n to binary code. If the accumulator content has more than one bit on, the accumulator will be set to 15 (to indicate error). The carry/link is unaffected.
The conversion table is shown below:
Accumulator |
Accumulator |
---|---|
0000 |
0000 |
0001 |
0001 |
0010 |
0010 |
0100 |
0011 |
1000 |
0100 |
0011 |
1111 |
0101 |
1111 |
0110 |
1111 |
0111 |
1111 |
1001 |
1111 |
1010 |
1111 |
1011 |
1111 |
1100 |
1111 |
1101 |
1111 |
1110 |
1111 |
1111 |
1111 |
The opcode for this instruction does not contain any additional data: