---
+ Post New Thread
Page 1 of 4 123 ... LastLast
Results 1 to 20 of 63
  1. #1
    Advanced Member level 3
    Points: 9,922, Level: 23

    Join Date
    Nov 2006
    Posts
    982
    Helped
    67 / 67
    Points
    9,922
    Level
    23

    WHY ? TASM WHY not MPLAB ?

    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' ????????

  2. #2
    Advanced Member level 3
    Points: 5,531, Level: 17

    Join Date
    Apr 2006
    Location
    Hyderabad, India.
    Posts
    756
    Helped
    119 / 119
    Points
    5,531
    Level
    17

    WHY ? TASM WHY not MPLAB ?

    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



    •   Alt20th January 2008, 17:55

      advertising

        
       

  3. #3
    Advanced Member level 1
    Points: 5,629, Level: 17

    Join Date
    Aug 2005
    Location
    Macedonia
    Posts
    412
    Helped
    40 / 40
    Points
    5,629
    Level
    17

    Re: WHY ? TASM WHY not MPLAB ?

    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



  4. #4
    Advanced Member level 3
    Points: 9,922, Level: 23

    Join Date
    Nov 2006
    Posts
    982
    Helped
    67 / 67
    Points
    9,922
    Level
    23

    Re: WHY ? TASM WHY not MPLAB ?

    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.



  5. #5
    Advanced Member level 1
    Points: 5,629, Level: 17

    Join Date
    Aug 2005
    Location
    Macedonia
    Posts
    412
    Helped
    40 / 40
    Points
    5,629
    Level
    17

    Re: WHY ? TASM WHY not MPLAB ?

    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



  6. #6
    Advanced Member level 3
    Points: 9,922, Level: 23

    Join Date
    Nov 2006
    Posts
    982
    Helped
    67 / 67
    Points
    9,922
    Level
    23

    Re: WHY ? TASM WHY not MPLAB ?

    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



    •   Alt21st January 2008, 04:07

      advertising

        
       

  7. #7
    Advanced Member level 3
    Points: 5,531, Level: 17

    Join Date
    Apr 2006
    Location
    Hyderabad, India.
    Posts
    756
    Helped
    119 / 119
    Points
    5,531
    Level
    17

    WHY ? TASM WHY not MPLAB ?

    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



  8. #8
    Advanced Member level 1
    Points: 5,629, Level: 17

    Join Date
    Aug 2005
    Location
    Macedonia
    Posts
    412
    Helped
    40 / 40
    Points
    5,629
    Level
    17

    Re: WHY ? TASM WHY not MPLAB ?

    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



  9. #9
    Advanced Member level 3
    Points: 9,922, Level: 23

    Join Date
    Nov 2006
    Posts
    982
    Helped
    67 / 67
    Points
    9,922
    Level
    23

    Re: WHY ? TASM WHY not MPLAB ?

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



    •   Alt22nd January 2008, 04:26

      advertising

        
       

  10. #10
    Advanced Member level 3
    Points: 9,922, Level: 23

    Join Date
    Nov 2006
    Posts
    982
    Helped
    67 / 67
    Points
    9,922
    Level
    23

    Re: WHY ? TASM WHY not MPLAB ?

    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
    http://www.edaboard.com/viewtopic.php?p=967694#967694
    enjoy



  11. #11
    Member level 2
    Points: 2,130, Level: 10
    jhanus's Avatar
    Join Date
    Feb 2007
    Location
    Croatia
    Posts
    48
    Helped
    2 / 2
    Points
    2,130
    Level
    10

    Re: WHY ? TASM WHY not MPLAB ?

    Hey,


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



  12. #12
    Advanced Member level 1
    Points: 5,629, Level: 17

    Join Date
    Aug 2005
    Location
    Macedonia
    Posts
    412
    Helped
    40 / 40
    Points
    5,629
    Level
    17

    Re: WHY ? TASM WHY not MPLAB ?

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



  13. #13
    Advanced Member level 1
    Points: 5,629, Level: 17

    Join Date
    Aug 2005
    Location
    Macedonia
    Posts
    412
    Helped
    40 / 40
    Points
    5,629
    Level
    17

    Re: WHY ? TASM WHY not MPLAB ?

    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



  14. #14
    Advanced Member level 3
    Points: 9,922, Level: 23

    Join Date
    Nov 2006
    Posts
    982
    Helped
    67 / 67
    Points
    9,922
    Level
    23

    Re: WHY ? TASM WHY not MPLAB ?

    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 ??????????




  15. #15
    Advanced Member level 3
    Points: 5,531, Level: 17

    Join Date
    Apr 2006
    Location
    Hyderabad, India.
    Posts
    756
    Helped
    119 / 119
    Points
    5,531
    Level
    17

    WHY ? TASM WHY not MPLAB ?

    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



  16. #16
    Advanced Member level 1
    Points: 5,629, Level: 17

    Join Date
    Aug 2005
    Location
    Macedonia
    Posts
    412
    Helped
    40 / 40
    Points
    5,629
    Level
    17

    Re: WHY ? TASM WHY not 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,



  17. #17
    Advanced Member level 3
    Points: 9,922, Level: 23

    Join Date
    Nov 2006
    Posts
    982
    Helped
    67 / 67
    Points
    9,922
    Level
    23

    Re: WHY ? TASM WHY not MPLAB ?

    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 ?



  18. #18
    Advanced Member level 3
    Points: 5,531, Level: 17

    Join Date
    Apr 2006
    Location
    Hyderabad, India.
    Posts
    756
    Helped
    119 / 119
    Points
    5,531
    Level
    17

    Re: WHY ? TASM WHY not MPLAB ?

    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



  19. #19
    Advanced Member level 3
    Points: 9,922, Level: 23

    Join Date
    Nov 2006
    Posts
    982
    Helped
    67 / 67
    Points
    9,922
    Level
    23

    Re: WHY ? TASM WHY not MPLAB ?

    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 ?



  20. #20
    Advanced Member level 1
    Points: 5,629, Level: 17

    Join Date
    Aug 2005
    Location
    Macedonia
    Posts
    412
    Helped
    40 / 40
    Points
    5,629
    Level
    17

    Re: WHY ? TASM WHY not MPLAB ?

    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,



+ Post New Thread
Please login
Page 1 of 4 123 ... LastLast