Discussion Overview
The discussion revolves around the correct usage of the 'include' directive in assembly language programming, specifically for the PIC16F84A microcontroller. Participants are seeking clarification on whether to use a full directory path or just the file name in the include statement, as well as addressing compilation errors encountered in MPLAB.
Discussion Character
- Technical explanation
- Debate/contested
- Homework-related
Main Points Raised
- One participant asks whether the include statement should specify the full directory path or if just the file name is sufficient.
- Another participant provides a syntax example for Microsoft's assembler, indicating that a simple include statement can be used.
- A suggestion is made to consult the Help section of MPLAB for a list of error codes, specifically mentioning error code 7.
- A participant points out the existence of template files in a subdirectory of MPLAB, suggesting that these templates may help in resolving compilation issues.
- One participant reiterates the question about the include statement and provides an example using an absolute path, assuming the use of MASM.
- A reference is made to a specific template file that includes directives for the PIC16F84, demonstrating the correct usage of the include statement.
Areas of Agreement / Disagreement
Participants express uncertainty regarding the correct format for the include statement and the meaning of the compilation errors. There is no consensus on the best approach to resolve these issues, and multiple viewpoints are presented.
Contextual Notes
Participants mention specific error codes and templates but do not provide a complete resolution to the compilation errors. The discussion reflects varying levels of familiarity with MPLAB and assembly language syntax.
Who May Find This Useful
This discussion may be useful for individuals working with assembly language programming for microcontrollers, particularly those using MPLAB and the PIC16F84A, as well as those encountering similar compilation issues.