Hi,
Am 03.10.2014 09:46 schrieb "陳韋任 (Wei-Ren Chen)" <che...@cs.nctu.edu.tw>:
>
...
> So I want to know what "-p" option's role here. Does it affect any
> compiler behavior or codegen?
At least the Microchip PIC ports use -p to inform the compiler about
available IO and memory banks to generate correct and somewhat efficient
code for the device by avoiding BANKSEL instruction where not needed, by
allowing to check config bits, and before the introduction of the #pragma
config to tell the compiler the device (family) specific address if the
config word(s).
I think that other ports do not use (but need) -p at all.
Raphael
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user