Refactored assembler to simplify code. Commented names.