-
PBP List file???
In the PBP2.60 manual discussing the command “WRITECODE”,
“The listing file may be examined to determine program addresses.”
My old PicBasic manual discusses Option –D, “assembler generates a symbol table, a listing and a map file”. PBP2.60 does not discuss Option –D. List file is not mentioned in PBP other than in the WRITECODE command explanation, at least not that I can find.
Is it NOT possible to generate a List file in PBPW by way of some defalt setting?
-
Hi MOUNTAIN747,
Try this,
In MCS open the tab " VIEW" scroll down to "Compile and Program Options", click that and it opens a box and on the compiler page there is a check box that says "Listing File", check it. I think it will do as you ask then.
-
Reply to Joe
Great! Thanks Joe,
This file makes for some interesting reading. It gives a good look at how PBP organizes the compiled program. Addresses of variables in RAM are easy to figure out. I think my best bet at locating a target in program memory is to insert a variable “HEREIAM” after my target then compile, read the new list file, and figure out what my target address is. Does that make sense?
Thanks again Joe for your response.