diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2020-07-06 20:04:41 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2020-07-06 20:04:41 -0400 |
commit | 756c606af68be8ccca7aced3b9c3d56fb2d5087f (patch) | |
tree | fbc02b63feb1933a213d26ae68ab1b1a104e4ef3 /lexer.h | |
parent | 887802efcdb3b56263069cc6778a8f53ed89d599 (diff) |
- Implemented a new opcode table.
- Added a new preifx called the OF prefix, which adds
the contents of a specific register to the current
operand.
- Added a table generator, which parses opcode table
csv files.
Diffstat (limited to 'lexer.h')
-rw-r--r-- | lexer.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -46,6 +46,8 @@ static inline uint8_t get_ptok(char c, uint8_t dbg) { case ',' : return PTOK_COMMA ; case 'X': case 'x' : return PTOK_X ; case 'Y': case 'y' : return PTOK_Y ; + case 'S': case 's' : return PTOK_S ; + case 'P': case 'p' : return PTOK_P ; case '\"': return PTOK_DQUOTE ; case '\'': return PTOK_SQUOTE ; case '#' : return PTOK_HASH ; |