New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make register values more distinct in the debug console #1238

Closed
Sagiri opened this Issue Nov 20, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@Sagiri
Copy link

Sagiri commented Nov 20, 2018

The current way the console displays the state of the registers is:

00000001 00000004 030030F0 00000001
00000000 030030E4 030030E4 030030F0
00000000 00000000 00000000 00000000
00000040 03007E24 080004AB 080008B0

Would it possible to change that slightly to:

R00=00000001 R01=00000004 R02=030030F0 R03=00000001
R04=00000000 R05=030030E4 R06=030030E4 R07=030030F0
R08=00000000 R09=00000000 R10=00000000 R11=00000000
R12=00000040 R13=03007E24 R14=080004AB R15=080008B0

As a related suggestion/alternative, would it be possible to add a r/r command to easily read the value from a particular register as a counterpart to w/r?

@endrift

This comment has been minimized.

Copy link
Member

endrift commented Nov 20, 2018

The opposite of w/r is p

@Sagiri

This comment has been minimized.

Copy link
Author

Sagiri commented Nov 20, 2018

Oh, you have to do (e.g.) p r3. I didn't even think to try that because the description made it sound like it was just for displaying literal values.

I only suggested r/r because the other w/? commands all have r/? counterparts.

@endrift

This comment has been minimized.

Copy link
Member

endrift commented Nov 20, 2018

That's reasonable, but I'm not sure it's that useful all told.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment