7 Commits

Author SHA1 Message Date
107eb18cd4 parser: allow immediate values that end with colon
This is funky syntax, but it doesn't hurt the accuracy of a parser.

Some people might prefer this to stylize references to labels.
2023-08-24 03:31:35 +00:00
118942521e test: add initial test makefile
This also adds support for "#" characters prior to immediates.

nop may also now appear in an op_t. The parser no longer generates nop_t--this
is instead now represented as an op_t with a zero-length ops vector.
2023-08-23 19:21:43 -07:00
cd0c9c7c8c parser: add assign and label 2023-08-20 08:45:16 +00:00
867ee171a5 parser: add jump 2023-08-20 06:02:18 +00:00
b97abc776c parser: add dma and mvi parsers 2023-08-20 05:54:53 +00:00
e520a0de19 parser: initial op parsing 2023-08-20 00:59:41 +00:00
b6d4ae5e8e parser: initial expression parser 2023-08-15 20:18:35 -07:00