Title: Code compiling issue Post by: ahmed on July 19, 2017, 03:14:23 15:14 Hello all,
I found this frequency counter code over internet , its an assemble language code , i already worked with assemble codes but have very short knowledge about assemble . So the hex file with the package works fine on simulator , but i have to add some things also need to edit lcd pins for this code. But MPLAB and MPASM gives me errors while compiling , also the errors are about syntax mostly. I searched alot about this matter but nothing found. Please help me identifying this code's compiler , or please help me compiling this code. Files are attached. Title: Re: Code compiling issue Post by: pickit2 on July 19, 2017, 04:32:23 16:32 Looking at the *.asm file its standard Assemble Code, as in most data sheets. as its for a 16F84 get a early copy of Mplab of 20 yaers back.
http://ww1.microchip.com/downloads/en/DeviceDoc/51519B.pdf Title: Re: Code compiling issue Post by: h0nk on July 19, 2017, 06:48:13 18:48 Hello Ahmed, looks like parallax assembler code. It was sold to Tech-Tools. Take a look at: http://www.tech-tools.com/picmicro-downloads.htm If You want to rewrite the source, differences explained here: http://mondo-technology.com/format.html Best Regards Title: Re: Code compiling issue Post by: hexadec on July 20, 2017, 07:32:07 19:32 If you're interested I have a working project (years old) plus schematic for a frequency counter using a 16F84A.
I'll upload if you want it. PS Just to confirm, your file won't compile on MPLAB Title: Re: Code compiling issue Post by: ahmed on July 21, 2017, 03:56:41 03:56 Hello Ahmed, looks like parallax assembler code. It was sold to Tech-Tools. Take a look at: http://www.tech-tools.com/picmicro-downloads.htm If You want to rewrite the source, differences explained here: http://mondo-technology.com/format.html Best Regards I think this code is for custom compiler/assembler , it even not working on CVASM , also tried to change the compiler directives , but no still no. have you tried this code by yourself ? if not pls give it a try If you're interested I have a working project (years old) plus schematic for a frequency counter using a 16F84A. I'll upload if you want it. PS Just to confirm, your file won't compile on MPLAB Yes this is the main issue , MPLAB isn't recognizing this code. Syntax is different. And yes i want to try , pls upload also if you worked on that project will that code run with MPLAB ? Title: Re: Code compiling issue Post by: h0nk on July 21, 2017, 09:49:06 21:49 Hello Ahmed, if You look into the header file "16F84_32.txt" You will find the clue: AKIZUKI's assembler. I was not aware of this assembler. AKIZUKI seems to be a company in Japan which sells Evalboards for PIC and some other microcontroller. The 'ds' pseudoinstruction was also used by the parallax assembler, so this was my first guess after i took a look into the main source. The note regarding the assembler is only in the include file... The AKIZUKI-assembler seems unavailable today. The examples of AKIZUKI-evalboards use MPASM now. Perhaps some boardmember from Japan has this software still on his harddisk. Good luck and Best Regards Title: Re: Code compiling issue Post by: Checksum8 on July 21, 2017, 11:31:05 23:31 Here is a good one. I built the kit back in the 90's. "Weeder frequency counter" uses standard Microchip assembler
http://www.piclist.com/techref/piclist/weedfreq.htm Title: Re: Code compiling issue Post by: ahmed on July 22, 2017, 02:38:30 14:38 Hello Ahmed, if You look into the header file "16F84_32.txt" You will find the clue: AKIZUKI's assembler. I was not aware of this assembler. AKIZUKI seems to be a company in Japan which sells Evalboards for PIC and some other microcontroller. The 'ds' pseudoinstruction was also used by the parallax assembler, so this was my first guess after i took a look into the main source. The note regarding the assembler is only in the include file... The AKIZUKI-assembler seems unavailable today. The examples of AKIZUKI-evalboards use MPASM now. Perhaps some boardmember from Japan has this software still on his harddisk. Good luck and Best Regards Finally with help of your advise about that compiler/assembler , now i am finally able to compile that asm file with success. The main issue was header file that included by author , a little modification in that file make me successful. Best Regards. If anyone interested i can upload the whole project :) |