I'm trying to write a debugger for the hc08 architecture, but I think 
this is a more general problem.
I'm having a lot of problems in finding the correct locations in memory 
of "register" variables.
Analyzing the ".cdb" file, a lot of variables are marked "register", but 
have no corresponding register names between the [].
Documentation tells nothing about this (or I misunderstood it).
Browsoing a little in the SDCC source code and the generated ".lst" 
files I found that those variables are alocated to "spill registers" 
that are dynamically allocated on the "stack", but I cannot find any 
information on how match the variable names with the spill registers 
that they actually use.

If this is not the correct list to ask, tell me what is the right one.

Thank you
        Stefano Salvi

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to