From 8b148c3bb43146b6e7a3c5ac853bc9cce2442278 Mon Sep 17 00:00:00 2001 From: Simon Fortier Date: Sat, 11 Nov 2017 16:19:21 -0500 Subject: [PATCH] Updated Basic Assembly tutorial (markdown) --- Basic-Assembly-tutorial.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Basic-Assembly-tutorial.md b/Basic-Assembly-tutorial.md index e2141a6..a7c0ad3 100644 --- a/Basic-Assembly-tutorial.md +++ b/Basic-Assembly-tutorial.md @@ -264,12 +264,12 @@ So we have seen how programmers can use programming languages to write computer Let's start with some an example: ```assembly MOV A, 1 -INT 9 +HWI 1 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. -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 INT instruction will be explained in more detail later. +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. The first line can be read as "Move `1` into `A`"