Skip to content

Commit 2e3e132

Browse files
committed
update help text
1 parent e331aec commit 2e3e132

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Main.hs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@ import Control.Monad.Trans.State.Lazy
1515
help :: String
1616
help = "Usage: ./Main [-h|--help] input_file\n\n"
1717
++ "Syntax cheatsheat: First column shows valid assembly operations.\n"
18-
++ "Addr ::= hex | bin | oct | naturalnumber\n"
19-
++ "Offset ::= hex | bin | oct | naturalnumber\n"
18+
++ "Byte ::= hex | bin | oct | naturalnumber\n"
19+
++ "Addr ::= Byte\n"
20+
++ "Offset ::= Byte\n"
2021
++ "literal prefixes: bin = `0b`, hex = `0x`, oct = `0o`\n"
2122
++ "Use `//` or `;` for line comments.\n"
2223
++ "Use `ORG Addr` to start writing from a specific address memory.\n"
24+
++ "Use `FCB Byte` to put a byte of data in the current memory cell.\n"
2325
++ unlines (map ('\t':) [
2426
"NOOP No Operation Do Nothing",
2527
"ADD ACC, M[Addr] Add ACC = ACC + Memory[Addr]; Set C and Z flags",

0 commit comments

Comments
 (0)