♦TEN KEY INPUT (TKY)
CQM1H CJ1M/CJ2M
CQM1H CJ1M/CJ2M
Operand1 Input word:
D09 to D00:
Bit00 to 09 works as ten keys (0 to 9).
Input word (Data line inputs):
D09 to D00:
Bit00 to 09 works as ten keys (0 to 9).
Operand2 First register word:
[D1 ]: Least significant 4 digits
[D1+1]: Most significant 4 digits
First register word :
[D1 ]D15 to D12: Digit 4
D11 to D08: Digit 3
D07 to D04: Digit 2
D03 to D00: Digit 1
[D1+1]D15 to D12: Digit 8
D11 to D08: Digit 7
D07 to D04: Digit 6
D03 to D00: Digit 5
Operand3 Key input word:
D10: ON when any key is pressed.
D09 to D00: ON when the corresponding
key is pressed. (Remains on until another key
is pressed.)
Key input word:
D10: ON when any key is pressed.
D09 to D00: ON when the corresponding
key is pressed. (Remains on until another
key is pressed.)
Other information
CQM1H CJ1M/CJ2M
Limitations
in number of
time used.
Can be used twice or more times; however,
input word address must be changed.
None
ER flag
operation
- Content of *DM/*EM word is not BCD, or the
Em/DM area boundary has been exceeded.
(EM can be used with CQM1H-CPU61 only.)
- D and D+1 are not in the same data area.
- Other than above, ER flag is OFF.
OFF (ER flag does not turn ON with left
errors, since they are handled as Illegal
access error).
Fun No. 18 (Expansion instructions) 211
31