Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

WHY ? TASM WHY not MPLAB ?

Status
Not open for further replies.

manish12

Advanced Member level 3
Joined
Nov 21, 2006
Messages
983
Helped
66
Reputation
132
Reaction score
33
Trophy points
1,308
Activity points
6,117
my(most of the ) programmer need .hex file ,
and EPE code is in .obj (most of the time ),
and more , they provide the .asm file in or for TASM .

i don't understand this ????????????

and MPLAB is free and from chip manufacture , STD one.

i am always in trouble , and some time i think what to do ?

any special feature of this TASM has to ignore MPLAB.

any way i have small q ?
from TASM
movlw 61 = ?

it is
movlw 061h
or
movlw d'61' ????????
 

Please see the begining of the file, you may perhaps find the radix used, whether decimal hexadecimal or binary etc,
if decimal it is d'61'
if hexadecimal it will have to be 061h

Sarma
 

Hi manish,
just now I work on EPE code (author is John Backer, project is Led message display publish in EPEMag 2006/11),
I dont understand assembler in this project,
I work with MPASM from MPLAB (exactly MPLAB 7.11),
I have intention to change code with adding external eeprom support, but I have a lot of problem, for example he use .EQU or .ORG, number is represent like $70 or %10000000, andlw 127 (i think this is andlw 0x1F),
can you tell me with tool John use to work with this assembler,
I attach for you her asm code to see asm,
regards
 

ok i will do this for you , but required some time

Added after 1 hours 26 minutes:

why you not using elektor display project but it based on atmel but has ability to store the msg in itself.
 

Hi Manish,
I spend a lot of time (and money) in this project,
I make over 100 segment (one segment consist one 5 x 7 led display),
project work OK, but is limited in lenght of message (max 128 characters, because pic16f628 have 128 b internal eeprom),
now I have wish to add external eeprom (for example 24C08),
but this code is problematic for me,
I use MPASM,
regards
 

it means still it is connected to pc , you dont want to change that right .

you just want to increase the length of segments ok.........

what about the pc vb code is this editable to the user ?.

if it so , then work should be accepted !

i am reading the magazine article right now ! 2006 / 11

it can be disconnected after programming ....ok
 

Hai Manish12, where did you get the Following files from?
1. lcdmtx1.inc
2. lcdmtx2.inc

I had done slight mods and the software (mplab tried to compile the said file except for these .inc files.
once we get them perhaps we can make a workable compilation of the project. I could uplaod the modded .asm to suite the MPLAB but for those two files.

Sarma
 

Hi Manish,
you say:
you just want to increase the length of segments ok...
No, the number of segment is OK for me,
I need to change lenght of message, no number of segment,
and for SARMA,
here is lcdmtx 1 and 2,
regards
 

what about pc program ?
, still i am not get it .
i was send request to you.
 

i get clear all the error of this file , i include the all .inc files and correct it for mplab .

if find useful just ack here.

just , dump your controller with the this prog then check it , if found to be ok , then you can use it for editing ok

i think it is for master controller .

i am busy here , so not able to make pcb and troubleshot , what you required.

when , i will be free , i again get back to you . ok .

, still have some time to discuss , ok

file at

enjoy
 

Hey,


I don't know if I understood you right, but if you need TASM to MPASM, tell me.
 

Hi Manish,
here is PC soft for command this led message display,
regards
p.s. I will try you'r modificated code,
 

Hi Manish, I try you' code, is working but have a litle problem,
On display vice "MIND" have "njoe", vice SPACE have "A",
something is wrong in STORE1 or COUNT1 value,
regards
 

sorry , i miss the one char i.e "space"


see this in asm file , the reason

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
TABLE movf CHARACTER,W
andlw 127
addwf PCL,F

; goto CHAR32 ; 32 space

goto CHAR33 ; !
goto CHAR34 ; "

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

a part of asm file

what is next ?

it is just asm convertion

Added after 42 minutes:

while click on .exe a error msg come . why ?


.exe should be run without any prob , the file you uploaded is the same (from epe)

i think you , modified it ??????????

 

Thanks to Pasicr for the inc files.
Hai, Manish, unfortunately my PCs Mobo gaveup and I am stuck.
this is temp arrangement with anothet HDD. As ssuch I might taake few days more to be able to get back my pc whereupon i cauld mix the inc ffiles and upload a composite .asm ffile suitavle for MPLAB
 

Hi Manish, code still have the same problem,
movf CHARACTER,W
andlw 127
addwf PCL,F

goto CHAR32 ; 32 space
goto CHAR33 ; !
goto CHAR34 ; "

For example, display must show 'M', this is character number 77,
andlw between 77 and 127 is again 77, with addwf PCL,F code add condition of PCL to 77 and take 'n' vice 'M'.
regards
p.s. CHAR 32 is not a problem, but in lcdmtx2.inc have CHAR32, but in lcdmtx1.inc CHAR 32 is not defined,
 

goto CHAR32 ; 32 space


CHAR 32 is not defined,

this is the prob so i was made it as comment ,

any way you can still make it

;;;;;;;;;;;;;;;;

next time ok .

i made it for you check it !. you must get the correct result.

now what is next ?
 

Hai Manish, if you open the LCDMTX1.inc on a note pad and see,
the definitions are starting from character 33 onwards
.
Once we analyze one character, chracter32 can perhpas be added at the top of character 33.afterall it it appears a "space" character and it contains nothing.
this might contain all zeros in all columns and the file can be saved back
this problem can be averted.
please try it

Sarma
 

i think you not check my new prog .

keep checking each and every post , to put helping post .

i need the pc prog , who will upload it , i have epe code but , not run .exe why ?
 

Hi Manish, I have been busy at work, today I will try you'r last code,
but I think that the problem will still exist, because before two days I try with completely the same code like you'r,
regards
p.s. original software for PC publish on EPEmag 2006/11 not work, I buy new software, maked in Microsoft Dot Net, work OK,
Because you with altruism help me, I will pay for you one licence, and I will send you a copy,
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top