MPLAB X assembly code includes self-written header files and then compiles incorrectly

Publisher:泥匠手Latest update time:2020-09-08 Source: eefocusKeywords:MPLAB Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

For example, my project has an algorithm written in assembly language. When I call it, I find that the algorithm contains some .h files, and these .h files cannot be compiled.

Solution:

  • Current project->right click->properties

  • xc16-as -> ASM include dirs select your header file path -> OK -> Apply 

Done

Keywords:MPLAB Reference address:MPLAB X assembly code includes self-written header files and then compiles incorrectly

Previous article:MPLAB X installation, PIC microcontroller development environment construction record
Next article:PIC XC8 EEPROM Operation

Recommended ReadingLatest update time:2024-11-25 11:21

BF51x DSP processors surpass MCU solutions
Blackfin and SHARC processors are two major DSP product lines of ADI. Currently, some customers in industrial control and test and measurement are turning to DSP solutions that go beyond MCUs. For example, Ethernet (IEEE1588 and 802.3)/wireless connections achieve ease of use, simple connections for high-quality measu
[Embedded]
BF51x DSP processors surpass MCU solutions
Starting from 2399 yuan, Honor X30 Max released: 7.09-inch giant screen, equipped with Dimensity 900 chip
This afternoon, Honor held a Double Eleven new product launch conference and officially launched the Honor X30 Max, which is equipped with a giant 7.09-inch screen and has a starting price of 2,399 yuan. In terms of screen, the Honor X30 Max is equipped with a 7.09-inch large screen on the front, with a screen-to-body
[Mobile phone portable]
Intel proposes the "Intelligent X Effect" - everything in the data age is a computer
On the afternoon of April 8, the 2020 Intel China Annual Strategy "Sharing Conference" was held in the form of an online live broadcast. Yang Xu, Intel Global Vice President and President of China, Song Jiqiang, Director of Intel China Research Institute, and Wang Rui, Vice President of Intel Marketing Group and Gener
[Mobile phone portable]
Canon G7 X Mark III may be launched first, Sony is no longer the only one
The news of Canon G7 X Mark III has indeed been spread many times, but Mr. S vaguely feels that this time it is very certain. As I said before, it has been more than three years since the Canon G7 X Mark II was released. For a popular compact camera, it is indeed time for a new generation. Canon G7 X Mark III is expec
[Embedded]
Canon G7 X Mark III may be launched first, Sony is no longer the only one
S3C2440 IIS operates uda134x recording and playback
IIS (Inter-IC Sound) was developed by Philips. It is a commonly used audio device interface, mainly used for CD, MD, MP3 and other devices. S3C2440 has five pins for IIS: IISDO, IISDI, IISSCLK, IISLRCK and CDCLK. The first two pins are used for the output and input of digital audio signals, and the other
[Microcontroller]
S3C2440 IIS operates uda134x recording and playback
LED8X8 dot matrix display digital 0-9
Here is the circuit diagram:  /* Name: 8X8LED dot matrix display digital  description: 1.8X8LED dot matrix screen cyclically displays the numbers 0~9, and the refresh process is completed by dynamic transformation.             2. The row scan is XX, connected to port P1, the column scan is YY, connected to port
[Microcontroller]
LED8X8 dot matrix display digital 0-9
OPPO K7x released: 90Hz refresh rate screen + rear quad-camera, priced at 1,399 yuan
The OPPO K7x was finally launched today and it is the second K-series device from the company after launching the OPPO K7 a few months ago. The new phone is equipped with a 6.5-inch Full HD+ LCD screen that offers a 90Hz refresh rate and a 180Hz touch sampling rate. Internally, it is equipped with MediaTek's Dimensi
[Mobile phone portable]
Interface and Program Design between Digital Potentiometer X9241 and PIC Microcontroller
1 X9241 Overview X9241 is a digital potentiometer produced by XICOR that integrates 4 E2POT digital potentiometers on a single CMOS integrated circuit. It contains 4 resistor arrays, each array contains 63 resistor units, and there are tap points accessed by the sliding unit between each unit and between the t
[Microcontroller]
Interface and Program Design between Digital Potentiometer X9241 and PIC Microcontroller
Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号