Closed douggilliland closed 5 years ago
@mjgpy3 The assembler should thrown an error if the source code tries to add another label that already exists.
label1: add r8,r0,r0 label1: add r9,r0,r0
Should throw an error with the second label1 since the label is already used.
This comes into play when I copy-paste code and forget to update the label.
Example Code in C075-Dup_Labels.asm
@mjgpy3 The assembler should thrown an error if the source code tries to add another label that already exists.
label1: add r8,r0,r0 label1: add r9,r0,r0
Should throw an error with the second label1 since the label is already used.
This comes into play when I copy-paste code and forget to update the label.
Example Code in C075-Dup_Labels.asm