From 6fd5a2e117df690f4b3d79c0ca140805bbb29282 Mon Sep 17 00:00:00 2001 From: Nat Lasseter Date: Wed, 11 Dec 2019 21:57:16 +0000 Subject: Fixed intcode assembler readme --- intcode/Readme.textile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/intcode/Readme.textile b/intcode/Readme.textile index 844faf5..5834235 100644 --- a/intcode/Readme.textile +++ b/intcode/Readme.textile @@ -4,7 +4,7 @@ p. This is an assembler and disassembler pair for the intcode vm. h2. Assembler -p. East instruction, directive, or label should appear on a line by itself. +p. Each instruction, directive, or label should appear on a line by itself. h3. Usage @@ -27,11 +27,7 @@ p. Optionally, commas may be used to separate arguments. h3. Labels -p. Specify a label with: - -bc. label: - -p. then use it in the assembly. Sigilising it is valid, immediate @label@, positional @label, or relative @&label@. The merits of doing so in some cases are... Hmm. +p. Specify a label with @label:@, then use it in the assembly. Sigilising it is valid, immediate @label@, positional @label, or relative @&label@. The merits of doing so in some cases are... Hmm. h3. Directives @@ -43,6 +39,10 @@ h3. Sigils - @ := Positional argument - @&@ := Relative argument +h3. Comments + +p. @;@ to end of line is a comment, and is ignored by the assembler. + h2. Disassembler p. Prints the location of the start of each instruction and the instruction itself using the syntax detailed above. -- cgit v1.2.1