mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-09-16 11:56:54 +00:00
updating action labels
parent
f732be56bd
commit
a786274933
@ -9,9 +9,9 @@ Hardware ID: `0x0004`
|
|||||||
### Interrupt Behavior
|
### Interrupt Behavior
|
||||||
| Value of A | Action | Energy cost | Result |
|
| Value of A | Action | Energy cost | Result |
|
||||||
| --- | --- | --- | --- |
|
| --- | --- | --- | --- |
|
||||||
| `0` | `CLEAR` | `0 kJ` | Clear the keypress buffer |
|
| `0` | `KEYBOARD_CLEAR` | `0 kJ` | Clear the keypress buffer |
|
||||||
| `1` | `FETCH_KEY` | `0 kJ` | Reads the oldest keycode from the buffer into the B register and remove it|
|
| `1` | `KEYBOARD_FETCH_KEY` | `0 kJ` | Reads the oldest keycode from the buffer into the B register and remove it|
|
||||||
|
|
||||||
The `FETCH_KEY` operation will return `0` when the buffer is empty.
|
The `KEYBOARD_FETCH_KEY` operation will return `0` when the buffer is empty.
|
||||||
|
|
||||||
Keycodes: [keycode.info](http://keycode.info/)
|
Keycodes: [keycode.info](http://keycode.info/)
|
Loading…
x
Reference in New Issue
Block a user