We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Is there a STANDARD HEADER file that can be used when writing an assembly language program for AD conversion. Currently I am having to declare the address of port lines and ADDCON1 etc. Is this standard?
Try #include. Jon
Thanks but tried that already and it just results in a syntax error.
I just tried it for the Atmel AT89X51 and it worked just fine.
$NOMOD51 #include <AT89X51.H> cseg at 0x4000 nop nop nop mov a, P1 nop nop nop end
Remember, the #include <c-header> feature is new since A51 Version 6. So it will not work for older Version 4 or 5 tools.
That would explain it - we are currently in the process of updating and upgrading software so that should resolve the problem. Thank you