summaryrefslogtreecommitdiff
path: root/nqasm.c
Commit message (Collapse)AuthorAgeFilesLines
* nqasm: support binary arithmetic operators in immediate operandsBobby Bingham2017-01-181-0/+5
|
* nqasm: support unary operators in immediate expressionsBobby Bingham2017-01-181-2/+17
|
* nqasm: allow "." to refer to current pc in immediate operandBobby Bingham2017-01-181-4/+4
|
* nqasm: allow specifying labels for operandsBobby Bingham2017-01-181-3/+57
|
* nqasm: store instructions in memory before assemblingBobby Bingham2017-01-181-16/+37
|
* nqasm: parse labelsBobby Bingham2017-01-171-0/+43
|
* nqasm: Handle register and register indirect argumentsBobby Bingham2017-01-151-3/+12
|
* nqasm: Initial stab at a lexer and parserBobby Bingham2017-01-151-0/+20
So far, this only understands instructions, but no operands or labels. It doesn't handle bad input gracefully. It's just enough to test the basics.