| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
This makes more sense, as the argument is really a signed offset from the
program counter.
|
| |
|
| |
|
|
|
|
|
| |
This will allow differentiation between pcoff (a single argument) and
a_pcoff (an argument list consisting of only a pcoff argument).
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Bison's implicit $accept rule ends with the END token. The fact that input
could also end with END (via the line non-terminal) resulted in a shift
reduce conflict.
We resolve the conflict by modifying the lexer so that if it encounters end
of file partway through a line, it produces a final EOL token before EOF.
|
|
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.
|