Shop OBEX P1 Docs P2 Docs Learn Events
Large memory model as Assembly debugger ? — Parallax Forums

Large memory model as Assembly debugger ?

RaymanRayman Posts: 14,162
edited 2007-12-10 06:37 in Propeller 1
I took me a while recently to debug an assembly code problem (I forget the # in front of a binary constant...)...

I took a brief look at the "Large Memory Model" thread and wonder if that kind of thing could be used to go line by line through a regular assembly code...· Maybe it could send a COG ram to the HUB for inspection between instructions...

Is this possible?

Comments

  • deSilvadeSilva Posts: 2,967
    edited 2007-12-09 14:41
    It is not only possible, but Aribas PASD does this for months now smile.gif

    In fact it is upside down: The LMM is "nothing but" a clever debugger.
    The concepts of LMM have been utilized in many mainframe emulators and debuggers.

    Post Edited (deSilva) : 12/9/2007 3:24:23 PM GMT
  • AleAle Posts: 2,363
    edited 2007-12-09 19:19
    When I read this I just wonder why they do not use a simulator. I see that the ones available lack hw support, But many things can be worked out anyways. I'd really like to know what is wrong with mine... (besides a couple of bugs I found today and I already fixed).
  • HarleyHarley Posts: 997
    edited 2007-12-09 19:42
    Ale,

    Where is your simulator? I looked on Object Exchange, but didn't find any there.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Harley Shanko
  • AleAle Posts: 2,363
    edited 2007-12-09 19:54
    It is not there... don't ask me why.
    sourceforge.net/projects/ppropellersim

    This week, I'll post an update, because there are a couple of things (longs only hold a value up to 511, and when read CNT returns 0). I also have to improve the editor... for instance, it has to say the number of line and column where the cursor is... smile.gif, small things, kleinichkeiten smile.gif
  • SapiehaSapieha Posts: 2,964
    edited 2007-12-10 00:53
    Hi Ale.

    One thing to add.

    Scrol in Assembler View

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Nothing is impossible, there are only different degrees of difficulty.

    Sapieha
  • AleAle Posts: 2,363
    edited 2007-12-10 06:37
    Sapieha: Ctrl+Up, Ctrl+Down. (Is in the readme smile.gif )

    A better scroll will come soon, I also do not like that. (But was fast to implement)

    I'll also add autosave (configurable) for the compiled file.
Sign In or Register to comment.