Karl is not completely right here.

> Your header file should work fine, you need to refer to the sdcc
> manual,  there are slight differences between the keil  interrupt syntax
> and SDCC.

This header file NOT work with SDCC. It assigns values to sfr typed
variables that the linker will place at random addresses. It needs sfr
definitions in SDCC syntax. Luckily for you SDCC already ships an
<ADuC84x.h> header file.

Maarten

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to