From 89ab80e3e7b0d21179e62607023c56b7401e3617 Mon Sep 17 00:00:00 2001 From: Collin Clark Date: Sat, 30 Dec 2017 23:55:38 -0500 Subject: [PATCH] Updated Basic Assembly tutorial (markdown) --- Basic-Assembly-tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Basic-Assembly-tutorial.md b/Basic-Assembly-tutorial.md index ac116c1..21c3979 100644 --- a/Basic-Assembly-tutorial.md +++ b/Basic-Assembly-tutorial.md @@ -279,7 +279,7 @@ General syntax for each line of the assembly code: ```assembly label: mnemonic destination, source ; comment ``` -You can prefix any line with a name and a semicolon, this will define a label which is a symbolic name for the memory address of the code or data following it. During the assembly process, each mention of a label is replaced by this address and therefore makes them immediate values. We will see labels in more detail in the next section. +You can prefix any line with a name and a colon, this will define a label which is a symbolic name for the memory address of the code or data following it. During the assembly process, each mention of a label is replaced by this address and therefore makes them immediate values. We will see labels in more detail in the next section. Each instruction has a mnemonic to help remember it, the move instruction's mnemonic is MOV. The instruction's mnemonic is followed by one or two operands. There are 3 types of operands in the game: memory operand, register operand and immediate value operand.