On 16.12.2014 16:35, Georg Icking-Konert wrote: > hi Philipp, hello Rolf, > > actually I have an STM8 application where I need access to >64kB address > range. Specifically I want to program a 128kB device as a datalogger. > The SW already works under Cosmic (using @far identifier), but I > understand that sdcc doesn’t (yet?) support far address pointers. I > tried to work around this using inline assembler, see the below code. > Specifically sdcc aborts with the below error code in the line > containing the LDF instruction. Does this mean that even the assembler > doesn’t support far pointers? Or am I just using the wrong (i.e. Cosmic) > syntax? For your support thanks a lot in advance!
I'm not the one who wrote the assembler, but looking at the source it seems the .e needs to be outside the brackets. Philipp
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user