Simplified file structure
This commit is contained in:
parent
cacee7260a
commit
a466281307
219 changed files with 453 additions and 457 deletions
11
src/register/MemoryRegister.go
Normal file
11
src/register/MemoryRegister.go
Normal file
|
@ -0,0 +1,11 @@
|
|||
package register
|
||||
|
||||
import (
|
||||
"git.akyoto.dev/cli/q/src/asm"
|
||||
"git.akyoto.dev/cli/q/src/cpu"
|
||||
)
|
||||
|
||||
func (f *Machine) MemoryRegister(mnemonic asm.Mnemonic, a asm.Memory, b cpu.Register) {
|
||||
f.Assembler.MemoryRegister(mnemonic, a, b)
|
||||
f.postInstruction()
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue