Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 25, 2024, 09:44:06 21:44


Login with username, password and session length


Pages: [1]
Print
Author Topic: Code compiling issue  (Read 3650 times)
0 Members and 1 Guest are viewing this topic.
ahmed
Cracking Team
Senior Member
****
Offline Offline

Posts: 315

Thank You
-Given: 100
-Receive: 592


« 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.
Logged
pickit2
Moderator
Hero Member
*****
Offline Offline

Posts: 4646

Thank You
-Given: 826
-Receive: 4207


There is no evidence that I muted SoNsIvRi


« Reply #1 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
Logged

Note: I stoped Muteing bad members OK I now put thier account in sleep mode
h0nk
Senior Member
****
Offline Offline

Posts: 256

Thank You
-Given: 209
-Receive: 230



« Reply #2 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
Logged
hexadec
Junior Member
**
Offline Offline

Posts: 55

Thank You
-Given: 67
-Receive: 113



« Reply #3 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
Logged

Sponge.

I'm allowed to have it 'cos it's not sharp.
ahmed
Cracking Team
Senior Member
****
Offline Offline

Posts: 315

Thank You
-Given: 100
-Receive: 592


« Reply #4 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 ?
Logged
h0nk
Senior Member
****
Offline Offline

Posts: 256

Thank You
-Given: 209
-Receive: 230



« Reply #5 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
Logged
Checksum8
Active Member
***
Offline Offline

Posts: 129

Thank You
-Given: 123
-Receive: 100


« Reply #6 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
Logged
ahmed
Cracking Team
Senior Member
****
Offline Offline

Posts: 315

Thank You
-Given: 100
-Receive: 592


« Reply #7 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 Smiley
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC