diff options
author | Nat Lasseter <user@4574.co.uk> | 2019-12-11 21:57:16 +0000 |
---|---|---|
committer | Nat Lasseter <user@4574.co.uk> | 2019-12-11 21:57:16 +0000 |
commit | 6fd5a2e117df690f4b3d79c0ca140805bbb29282 (patch) | |
tree | 539053b0ecaa4ee5ec4dc4f1a7001bff644db64f /intcode | |
parent | 693130cae9bdb145af79ee2eb256b661003b6e45 (diff) |
Fixed intcode assembler readme
Diffstat (limited to 'intcode')
-rw-r--r-- | intcode/Readme.textile | 12 |
1 files 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 <code>@label</code>, 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 <code>@label</code>, or relative @&label@. The merits of doing so in some cases are... Hmm. h3. Directives @@ -43,6 +39,10 @@ h3. Sigils - <code>@</code> := 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. |