Simplified register usage visualization
This commit is contained in:
parent
e439516059
commit
2d592169e4
1 changed files with 2 additions and 2 deletions
|
@ -37,9 +37,9 @@ func (f *Function) PrintInstructions() {
|
||||||
|
|
||||||
for _, reg := range f.CPU.All {
|
for _, reg := range f.CPU.All {
|
||||||
if used&(1<<reg) != 0 {
|
if used&(1<<reg) != 0 {
|
||||||
registers.WriteString("⬤ ")
|
registers.WriteString("⏺ ")
|
||||||
} else {
|
} else {
|
||||||
registers.WriteString("◯ ")
|
registers.WriteString(" ")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue