- CDL data can now be output to a file. If --cdl-output isn't given,
but --cdl is given, the input file is overwritten with the new data.
If no CDL file is given no data is written.
- Count arguments as "Code"
- The SmartParse function no longer creates a new CDL. It will use and
update what it was given.
- The just-stats command does not write CDL data even though it
generates it.
Variable length arguments are not properly handled yet. Currently, just
the OP code and first argument (length) are set at Code. The rest are
ignored.
- Added a CDL implementation. It is still very incomplete and is not
really used yet.
- Added "smart" parsing. This will disassemble the code and follow any
jumps and calls. Anything not found by this is currently excluded
from output.
Labels are now their own object instead of just a string. This allows
for a bit more control with them. Labels can also now have comments.
Additionally, add the ability to load user-defined labels from a file.
The format of this file is subject to change, but for now it is just a
simple text file. Each line of the file is a label definition. Each
line has three fields, separated by spaces. The first field is the
address, second is the label name, and the rest of the line is a
comment. If a label name is just a dollar sign ($) it will not have a
name. This is used when adding comments without a bespoke label.
- Fixed instructions that have -3 as the OpCount (count then count
words). There is not an extra word that acts as the default
selection. These instructions do nothing if the argument is out of
range.
- Fixed off-by-one eating the byte following the -3 OpCount
instructions.
- Fixed panic when a -2 op code goes beyond the end of the script.
Starting with some script parsing. This script is the Domain Specific
Language that is on the tapes of the studybox. Not every opcode is
fully decoded/named yet.