Updated the assembly of instructions so that labels are stripped off if they are present, removing the need for a for-loop to determine opcodes.
More precise error handling for invalid opcodes added; error message now displays the invalid opcode.