a few fixes to the assembler
start rewriting kernel.rx in the new assembler