yrp604 / rappel

A linux-based assembly REPL for x86, amd64, armv7, and armv8
Other
1.16k stars 55 forks source link

Only show changed registers #32

Closed RalphCorderoy closed 3 years ago

RalphCorderoy commented 3 years ago

I think it would be better by default if only registers which had changed value were displayed, and this may be none.  That would save me having to hunt for the ones I expect to change, and also highlight if unexpected ones had altered.

yrp604 commented 3 years ago

Changed registers should show up in bright red, isn’t this sufficient to figure out what an instruction changed?

RalphCorderoy commented 3 years ago

Yes, I agree, though red doesn't make it through into cut-and-paste transcripts of interactions, which is why I didn't know it occurred. Also, all the non-red registers still add clutter, particularly vertically so I can see less of what was entered at a time and have to instead try and remember what has scrolled away.

yrp604 commented 3 years ago

Please don't file issues without using the software.

I'm not going to implement this, the code that implements register coloring is here, you can modify it to suit your needs.