Fixed incorrect number of history entries
This commit is contained in:
@ -27,7 +27,6 @@ func (f *Machine) RegisterNumber(mnemonic asm.Mnemonic, a cpu.Register, b int) {
|
||||
f.Assembler.RegisterNumber(asm.MOVE, tmp, b)
|
||||
f.UseRegister(tmp)
|
||||
f.postInstruction()
|
||||
f.Assembler.RegisterRegister(mnemonic, a, tmp)
|
||||
f.postInstruction()
|
||||
f.RegisterRegister(mnemonic, a, tmp)
|
||||
f.FreeRegister(tmp)
|
||||
}
|
||||
|
Reference in New Issue
Block a user