"Found directive in column 1 " means that you need to add a blank space before the directive, typically a Tab or a few spaces. The first column is reserved to labels, like "Main" in your case.
Look a code templates that come with MPLAB if you want to see quickly how an actual ASM source code file should look like.
Sorry, I just realized it's an include that's located in a path location longer than 62 characters.
You either need to reinstall MPLAB to a shorter path, or if you insist on using MPLAB in such a deep path location, you need to move the include files to a shorter one. I would simply reinstall MPLAB to "\Program Files\Microchip". With MPLAB 7.2, the includes end up in "\Program Files\Microchip\MPASM Suite".
Sorry, I just realized it's an include that's located in a path location longer than 62 characters.
You either need to reinstall MPLAB to a shorter path, or if you insist on using MPLAB in such a deep path location, you need to move the include files to a shorter one. I would simply reinstall MPLAB to "\Program Files\Microchip". With MPLAB 7.2, the includes end up in "\Program Files\Microchip\MPASM Suite".
or if you do not wish to reinstall it..copy all the include files (you get this option when you make a project file) in a seperate folder (C:\projects\).
Sorry, I just realized it's an include that's located in a path location longer than 62 characters.
You either need to reinstall MPLAB to a shorter path, or if you insist on using MPLAB in such a deep path location, you need to move the include files to a shorter one. I would simply reinstall MPLAB to "\Program Files\Microchip". With MPLAB 7.2, the includes end up in "\Program Files\Microchip\MPASM Suite".
or if you do not wish to reinstall it..copy all the include files (you get this option when you make a project file) in a seperate folder (C:\projects\).
Good idea, but keep in mind that if you later update MPLAB, the newer include file might contain bug fixes/enhancements that you will not get unless you copy it again from MPLAB's folder to your project's. I would try to get a proper, clean MPLAB installation first, if at all possible.
Sorry, I just realized it's an include that's located in a path location longer than 62 characters.
You either need to reinstall MPLAB to a shorter path, or if you insist on using MPLAB in such a deep path location, you need to move the include files to a shorter one. I would simply reinstall MPLAB to "\Program Files\Microchip". With MPLAB 7.2, the includes end up in "\Program Files\Microchip\MPASM Suite".
Sorry, I just realized it's an include that's located in a path location longer than 62 characters.
You either need to reinstall MPLAB to a shorter path, or if you insist on using MPLAB in such a deep path location, you need to move the include files to a shorter one. I would simply reinstall MPLAB to "\Program Files\Microchip". With MPLAB 7.2, the includes end up in "\Program Files\Microchip\MPASM Suite".
I used to think that using a microcontroller will make things easy for me but i've discovered that learning to develop a microcontroller-based circuit could be more involving. one have to buy programming kits, get softwares, resolve installation problems, learn to write programs, get the program to work then you have to design the main circuit. its a whole lot of work!
I used to think that using a microcontroller will make things easy for me but i've discovered that learning to develop a microcontroller-based circuit could be more involving. one have to buy programming kits, get softwares, resolve installation problems, learn to write programs, get the program to work then you have to design the main circuit. its a whole lot of work!
What's fascinating about microcontrollers is that it's a perfect mix of hardware and software, and you need knowledge of both parts to be able to do something useful with it. There is no abstraction keeping the low-level details from you. It all has to be learned.
That's why most electronics guys get stumped a while on the software part, while software guys like me have to spend months to learn simple basic circuitry (provided you have some electrical knowledge first!). It is a very complex and broad field, that once you master, will probably make your life as a designer way easier.
MPASM/MPLAB is telling you that you are using the wrong header file. You included the header for the non A version of the 16F84... Which one are you actually using?
Error[113] E:\PIC\BLINK.ASM 7 : Symbol not previously defined (XT_OSC)
It looks like you just blindly put blank spaces everywhere in your source file. "Main" is a label, it should really stay in column 1, without any blank spaces before it.
That's why most electronics guys get stumped a while on the software part, while software guys like me have to spend months to learn simple basic circuitry (provided you have some electrical knowledge first!).
The same goes with me except that i don't have good knowledge about software as you ...but the problem with software is that it takes too much time to learn only, it's a matter of time only!
Concerning to hardware and circuitry i have a big problem is that i can't handle the solder with more flexibility i don't know which are the best instruments that guaranttee to build nice ciruit and how to use it in best ways ! can anyone advise me or give me his viewpoint about that?!
in addition to that i don't know how to select the best componenets in my circuit diagram (ex. pic programmer)
MPASM/MPLAB is telling you that you are using the wrong header file. You included the header for the non A version of the 16F84... Which one are you actually using?
Error[113] E:\PIC\BLINK.ASM 7 : Symbol not previously defined (XT_OSC)