Fixed incorrect number of history entries
This commit is contained in:
parent
77d354936c
commit
5f8b859f4a
9 changed files with 39 additions and 20 deletions
|
@ -7,5 +7,10 @@ import (
|
|||
|
||||
func (f *Machine) MemoryRegister(mnemonic asm.Mnemonic, a asm.Memory, b cpu.Register) {
|
||||
f.Assembler.MemoryRegister(mnemonic, a, b)
|
||||
|
||||
if mnemonic == asm.LOAD {
|
||||
f.UseRegister(b)
|
||||
}
|
||||
|
||||
f.postInstruction()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue