added extra functionality to assembler to enhance the use of labels