Added label type

This commit is contained in:
2025-03-13 16:57:13 +01:00
parent d96c351b4b
commit c1913d99d0
32 changed files with 102 additions and 63 deletions

View File

@ -2,7 +2,7 @@ package register
import "git.urbach.dev/cli/q/src/asm"
func (f *Machine) AddLabel(label string) {
func (f *Machine) AddLabel(label asm.Label) {
f.Assembler.Label(asm.LABEL, label)
f.postInstruction()
}