Viewing bank 0 in debugger register window on SX52
Stanley Frederickson
Posts: 19
I have used SX28 chips in hobby projects over the last 10 or so years and I am now working on my first hobby project with the SX52 (I had a SX52 prototype board sitting around·for awhile that I dusted off for this project).
When I fired up my code on the SX52 under the debugger, I noticed that the rightmost side of the register window only shows me the contents of banks 1 to F.· Is this normal or might I have done something wrong?
I can write/read to/from register $10 in bank 0 and I get the expected result but I never see anything change in the register window as I step through this code.· Does the debug monitor·use indirect addressing for the registers so it can't display the contents of bank 0?
Thanks for the help!
When I fired up my code on the SX52 under the debugger, I noticed that the rightmost side of the register window only shows me the contents of banks 1 to F.· Is this normal or might I have done something wrong?
I can write/read to/from register $10 in bank 0 and I get the expected result but I never see anything change in the register window as I step through this code.· Does the debug monitor·use indirect addressing for the registers so it can't display the contents of bank 0?
Thanks for the help!
Comments
You guess it. The debugger uses indirect addressing so it cannot display bank 0.
Bean
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Use BASIC on the Propeller with the speed of assembly language.
PropBASIC thread http://forums.parallax.com/showthread.php?p=867134
March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
There are two rules in life:
· 1) Never divulge all information
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
If you choose not to decide, you still have made a choice. [noparse][[/noparse]RUSH - Freewill]