Assembler: please kick me in the right direction


Closed Thread
Results 1 to 27 of 27

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,154

    Question Assembler: please kick me in the right direction

    Hi,

    I have assembler code that I'd like to integrate into my PIC Basic Pro application. The only problem is that I haven't touched assembler since 1980, so I'm very rusty (make that totally ignorant by now).

    I'd appreciate any help in finding a tutorial to better understand this stuff. One problem I have right now is how to identify the pins. I also foresee compatibility problems, no idea what version of assembler this is in.

    This is the code for an Optrex 51553 graphic LCD. I also have on hand the 2 include files at the end; the image and font definition.

    Robert
    Attached Files Attached Files
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,154


    Did you find this post helpful? Yes | No

    Default

    Here's the schematic that goes with the code:
    Attached Images Attached Images
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Hi Robert,

    That's going to be hard. The program is written for an 8051 type processor.

    Many of the 8051 directives are similar to the PIC ones, but you'll have to re-write the whole program.

    .
    DT

  4. #4
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,154


    Did you find this post helpful? Yes | No

    Unhappy

    By the tone of your reply, I take it that it's more than just correcting the command syntax and that the actual coding is affected as well...

    Darn, this was the best example I had to manage an Optrex 51553 gLCD. I've scoured Google and found nothing for the SED1565 controller. I've checked out the links posted in here fo gLCDs, but they are all for other types of controllers.

    That really sucks 'cause this LCD is really cool; white font over a blue backgound, with backlighting and touch screen. That, and the fact I have 5 on hand and just finally managed to assemble a PCB to receive the 0.5mm pitch flexible film connector.

    Robert
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  5. #5
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,154


    Did you find this post helpful? Yes | No

    Default

    Ok, I'll give it a try.

    Darrel, you wouldn't happen to have a link to 8051 syntax? That would cut down on some research time and I'd be certain of looking at the proper code. I'd hate to convert all this wrong.

    Should I convert to MPASM or PM? PM is supposed to be faster, but I don't know if it supports all the commands.

    Robert
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  6. #6
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,154


    Did you find this post helpful? Yes | No

    Default

    I've found a nice reference for 8051 here:
    http://www.ece.umr.edu/computing/uni...e/tasking/asm/

    Now I just have to figure if I need PM or MPASM...

    Robert
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

Similar Threads

  1. decoding quadrature encoders
    By ice in forum mel PIC BASIC Pro
    Replies: 93
    Last Post: - 28th February 2017, 09:02
  2. PIC assembler forum?
    By Lajko in forum Off Topic
    Replies: 1
    Last Post: - 29th September 2008, 05:34
  3. Assembler problem
    By om3bc in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 25th March 2008, 19:12
  4. Am I reading this assembler correctly?
    By crhomberg in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 13th November 2007, 12:20
  5. Which assembler are you using?
    By picnaut in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 1st November 2005, 20:34

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts