Start reorganizing assembler code, add comments, doxygen/pydoc, modified doxypy

Signed-off-by: Josh Kilmer <srjek2@gmail.com>
emphasis doesn't seem to do much, so more asterisks

Signed-off-by: Josh Kilmer <srjek2@gmail.com>
Create an interface for preprocessor directives

Signed-off-by: Josh Kilmer <srjek2@gmail.com>
Spelz Chech

Signed-off-by: Josh Kilmer <srjek2@gmail.com>
Move things back into working order

Signed-off-by: Josh Kilmer <srjek2@gmail.com>
Fix another I accidently downloaded the web page file......

Signed-off-by: Josh Kilmer <srjek2@gmail.com>
Preprocessor directives are also registered now, and fix a bug

Signed-off-by: Josh Kilmer <srjek2@gmail.com>
Add some common code to the directive interface, seperate some of the directives into independent classes

Signed-off-by: Josh Kilmer <srjek2@gmail.com>
Finished the initial split, assembler is more buggy now

Signed-off-by: Josh Kilmer <srjek2@gmail.com>
Fix some bugs, assembler can now assemble same as before, with some false error messages

Signed-off-by: Josh Kilmer <srjek2@gmail.com>
Clean up some documentation

Signed-off-by: Josh Kilmer <srjek2@gmail.com>
Carry filenames with instructions, so line numbers won't appear incorrect

Signed-off-by: Josh Kilmer <srjek2@gmail.com>
Use clone when possible, fix a potential bug in dcpu16_instruction.clone()

Signed-off-by: Josh Kilmer <srjek2@gmail.com>
Seperate JMP and DAT instructions into their own classes. JMP can genenerate "XOR PC, a" instructions.

Signed-off-by: Josh Kilmer <srjek2@gmail.com>
Allow jmp to work with instructions that can't be shortened

Signed-off-by: Josh Kilmer <srjek2@gmail.com>
PetriOS.dasm uses jmps whenever possible

Signed-off-by: Josh Kilmer <srjek2@gmail.com>
Properly carry over ops and directives from parent reader

Signed-off-by: Josh Kilmer <srjek2@gmail.com>
Prevent errors from crashing assembler, seperate some more classes

Signed-off-by: Josh Kilmer <srjek2@gmail.com>
Merge pull request #1 from srjek/assembler-dev

Promote dev branch