This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

.INC file for ADUC831?

Is there an .inc file for the Analog Devices ADUC831 and/or ADUC841?

Parents
  • You can use #include in the assembler to include the C SFR definitions. For example:

    $nomod51
    #include <ADuC831.h>

    The $nomod51 tells the assembler not to automatically define 8051 SFRs. The #include includes the C51 header file.

    We added this feature in C51 V6.00 so that we didn't have to make 500 .h files and 500 identical .inc files.

    Jon

Reply
  • You can use #include in the assembler to include the C SFR definitions. For example:

    $nomod51
    #include <ADuC831.h>

    The $nomod51 tells the assembler not to automatically define 8051 SFRs. The #include includes the C51 header file.

    We added this feature in C51 V6.00 so that we didn't have to make 500 .h files and 500 identical .inc files.

    Jon

Children
No data