diff --git a/Basic-Assembly-tutorial.md b/Basic-Assembly-tutorial.md index ad8e727..4de742a 100644 --- a/Basic-Assembly-tutorial.md +++ b/Basic-Assembly-tutorial.md @@ -287,7 +287,7 @@ The instruction's mnemonic is followed by one or two operands. There are 3 types An immediate value operand is simple a base-10 or base-16 number (with 0x prefix). The following immediate operands are *valid*: `12, -3, 0x0002, 0x03, label_name, +4` and the following immediate operands are *invalid*: `12.3, -0x02, abcd` **Register operand:** -A register operand is the name of a register. only the following registers can be used in instructions: `A, B, C, D, X, Y, SP, BP`, the register `FLAGS, IP` can't be modified or accessed directly. Register names and mnemonics are not case-sensitive. +A register operand is the name of a register. Only the following registers can be used in instructions: `A, B, C, D, X, Y, SP, BP`, the register `FLAGS, IP` can't be modified or accessed directly. Register names and mnemonics are not case-sensitive. **Memory Operand:** A memory operand is a memory address in between square brackets. An immediate value or a register can be used to specify the address. The following memory operands are *valid*: `[12], [0xFFFE], [-3], [A], [BP], [label_name]`. You can also specify a register with a displacement value: `[A + 3], [BP-4], [X + label_name]`