mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-20 02:56:44 +00:00
Updated The Cubot Manuals (markdown)
parent
e00a15e2c2
commit
00cc836a3c
@ -18,7 +18,7 @@ HWQ A
|
||||
|
||||
The **HWI** (Hardware Interupt) instruction sends an interrupt to the hardware device at the specified address
|
||||
```assembly
|
||||
INVENTORY_HW equ 0x0006 ; An inventory module is connected at address 0x006. Define a constant
|
||||
INVENTORY_HW equ 0x0006 ; An inventory module is connected at address 0x006
|
||||
MOV A, 1 ; The Inventory hardware expects 1 (POLL) or 2 (CLEAR)
|
||||
HWI INVENTORY_HW
|
||||
; B = current held item id
|
||||
|
Loading…
x
Reference in New Issue
Block a user