mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-18 18:26:42 +00:00
Updated Assembly program examples (markdown)
parent
d8b931ec97
commit
25a02e8cd6
@ -12,7 +12,7 @@ HOLO_HW equ 0x0009 ; HWID of the Hologram projector
|
|||||||
counter: DW 0x0000 ; Counter global variable
|
counter: DW 0x0000 ; Counter global variable
|
||||||
; The DW (Define word) directive writes the specified value(s), seperated by a
|
; The DW (Define word) directive writes the specified value(s), seperated by a
|
||||||
; comma at assembly time. You can define a label before the directive to refer
|
; comma at assembly time. You can define a label before the directive to refer
|
||||||
; to it by its name.
|
; to it by name.
|
||||||
|
|
||||||
; Code/executable segment
|
; Code/executable segment
|
||||||
.text
|
.text
|
||||||
|
Loading…
x
Reference in New Issue
Block a user