English Amiga Board

English Amiga Board (http://eab.abime.net/index.php)
-   Coders. Asm / Hardware (http://eab.abime.net/forumdisplay.php?f=112)
-   -   What registers did I touch (http://eab.abime.net/showthread.php?t=102311)

Auscoder 20 May 2020 04:19

What registers did I touch
 
I seem to remember vaguely back in the day, I used some hotkey maybe in Devpac(?) that allowed me to select a bunch of code and it would list what registers I dirtied. Maybe it even generated the push/pop for those registers.

Was I dreaming this, or is there something out there.

Edders 21 May 2020 18:34

I have never seen it in a code editor, bit have seen it in debuggers while stepping through the program. In Asm-One you can step over a JSR/BSR while the debugger executes the JSR/BSR and breaks upon return from the function. All clobbered registers will be shown in negative in the register view. All unchanged registers will be shown as normal. Could that be what you remember?

Auscoder 23 May 2020 11:31

Quote:

Originally Posted by Edders (Post 1401581)
All clobbered registers will be shown in negative in the register view. All unchanged registers will be shown as normal. Could that be what you remember?

Could have been that, fairly sure it was a hotkey combo in some code editor though. Maybe I did completely dream it up :spin

a/b 23 May 2020 13:39

Asm-one&co can tell you that. You select a block of code and then it lists all used registers.
There is a bug (in some asm-one versions, at least) where it doesn't clear the line so if the previous report is longer, the newer shorter one will have extra registers at the end.


All times are GMT +2. The time now is 05:33.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.

Page generated in 0.04115 seconds with 11 queries