Added lots of assembler stuff.
Subroutines work (look at test cases).