Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 20, 2017, 08:21:56 20:21


Login with username, password and session length


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

Posts: 221

Thank You
-Given: 32
-Receive: 276


« on: July 19, 2017, 04:14:23 16: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: 3996

Thank You
-Given: 596
-Receive: 2034


There is no evidence that I muted SoNsIvRi


« Reply #1 on: July 19, 2017, 05:32:23 17: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: If you have no posts other than, I want or reporting a dead link Then you can't complain If I remove your post So Stop Leeching
h0nk
Active Member
***
Offline Offline

Posts: 141

Thank You
-Given: 102
-Receive: 93



« Reply #2 on: July 19, 2017, 07:48:13 19: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: 50

Thank You
-Given: 47
-Receive: 105



« Reply #3 on: July 20, 2017, 08:32:07 20: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
Active Member
****
Offline Offline

Posts: 221

Thank You
-Given: 32
-Receive: 276


« Reply #4 on: July 21, 2017, 04:56:41 04: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
Active Member
***
Offline Offline

Posts: 141

Thank You
-Given: 102
-Receive: 93



« Reply #5 on: July 21, 2017, 10:49:06 22: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
Junior Member
**
Offline Offline

Posts: 75

Thank You
-Given: 56
-Receive: 59


« Reply #6 on: July 22, 2017, 12:31:05 00: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
Active Member
****
Offline Offline

Posts: 221

Thank You
-Given: 32
-Receive: 276


« Reply #7 on: July 22, 2017, 03:38:30 15: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