mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-18 18:26:42 +00:00
Updated Basic Assembly tutorial (markdown)
parent
ca30b233b3
commit
5f69d0e624
@ -270,7 +270,7 @@ MOV B, 0x1337
|
||||
HWI 9
|
||||
BRK
|
||||
```
|
||||
You can try to execute it yourself by copying it directly into the game editor and uploading it. The code simply displays the number 0x1337 using the [Hologram Projector hardware](https://github.com/simon987/Much-Assembly-Required/wiki/Hardware:-Hologram-Projector)
|
||||
You can try to execute it yourself by copying it directly into the game editor and uploading it. The code simply displays the number 0x1337 using the [Hologram Projector hardware](https://github.com/simon987/Much-Assembly-Required/wiki/(Hardware)-Hologram-Projector)
|
||||
|
||||
The first instruction is a MOV (move) instruction. The syntax for the MOV instruction is MOV *destination*, *source* and it copies whatever is specified for the source operand in the destination operand, overwriting what was there before the instruction. The HWI instruction is explained more in detail here: [Hardware](https://github.com/simon987/Much-Assembly-Required/wiki/Hardware)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user