Implemented register calls

This commit is contained in:
Eduard Urbach 2025-03-02 17:53:18 +01:00
parent 0483176e56
commit c777d73bbb
Signed by: eduard
GPG key ID: 49226B848C78F6C8
16 changed files with 133 additions and 43 deletions

View file

@ -10,16 +10,6 @@ func (a *Assembler) Comment(text string) {
})
}
// Call calls a function whose position is identified by a label.
func (a *Assembler) Call(name string) {
a.Instructions = append(a.Instructions, Instruction{
Mnemonic: CALL,
Data: &Label{
Name: name,
},
})
}
// DLLCall calls a function in a DLL file.
func (a *Assembler) DLLCall(name string) {
a.Instructions = append(a.Instructions, Instruction{