Updated The Cubot Manuals (markdown)

Arthur Paulino 2018-01-03 11:02:07 -03:00
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 The **HWI** (Hardware Interupt) instruction sends an interrupt to the hardware device at the specified address
```assembly ```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) MOV A, 1 ; The Inventory hardware expects 1 (POLL) or 2 (CLEAR)
HWI INVENTORY_HW HWI INVENTORY_HW
; B = current held item id ; B = current held item id