mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-16 09:16:44 +00:00
Updated Assembly program examples (markdown)
parent
1508111b8d
commit
8ba8f89c67
@ -29,6 +29,8 @@ counter: DW 0x0000 ; Counter global variable
|
||||
counter_is_odd:
|
||||
|
||||
ADD [counter], 1 ; Increment counter
|
||||
MOV B, A
|
||||
MOV A, 1
|
||||
HWI HOLO_HW ; Display the contents of A
|
||||
BRK ; Exit program
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user