diff --git a/Basic-Assembly-tutorial.md b/Basic-Assembly-tutorial.md index a7c0ad3..a22a2ce 100644 --- a/Basic-Assembly-tutorial.md +++ b/Basic-Assembly-tutorial.md @@ -263,11 +263,11 @@ So we have seen how programmers can use programming languages to write computer ### Instruction and operands Let's start with some an example: ```assembly -MOV A, 1 -HWI 1 +MOV A, 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 a warning icon on top of your controlled unit. +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 will be explained in more detail later.