Improved separation of concerns

This commit is contained in:
Eduard Urbach 2024-07-23 16:41:21 +02:00
parent dc5456b820
commit abba962455
Signed by: eduard
GPG key ID: 49226B848C78F6C8
36 changed files with 243 additions and 236 deletions

View file

@ -33,9 +33,9 @@ func (f *Function) PrintInstructions() {
}
registers := bytes.Buffer{}
used := f.registerHistory[i]
used := f.RegisterHistory[i]
for _, reg := range f.cpu.All {
for _, reg := range f.CPU.All {
if used&(1<<reg) != 0 {
registers.WriteString("⬤ ")
} else {