Implemented number output

This commit is contained in:
Eduard Urbach 2024-07-26 12:50:47 +02:00
parent e4f041be41
commit 8b1af4bea7
Signed by: eduard
GPG key ID: 49226B848C78F6C8
12 changed files with 185 additions and 46 deletions

View file

@ -0,0 +1,11 @@
package register
import (
"git.akyoto.dev/cli/q/src/build/asm"
"git.akyoto.dev/cli/q/src/build/cpu"
)
func (f *Machine) MemoryRegister(mnemonic asm.Mnemonic, a asm.Memory, b cpu.Register) {
f.Assembler.MemoryRegister(mnemonic, a, b)
f.postInstruction()
}