File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,11 +15,13 @@ import Control.Monad.Trans.State.Lazy
1515help :: String
1616help = " 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" ,
You can’t perform that action at this time.
0 commit comments