Updated Basic Assembly tutorial (markdown)

simon987 2019-11-03 09:31:35 -05:00
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)