Shop OBEX P1 Docs P2 Docs Learn Events
Assembly, step by step - Page 2 — Parallax Forums

Assembly, step by step

2»

Comments

  • Graham StablerGraham Stabler Posts: 2,510
    edited 2007-07-01 18:55
    The only consequence is wasting a long of memory.

    They are just ghosts from previous steps and should have been removed.

    Graham
  • mosquito56mosquito56 Posts: 387
    edited 2008-01-11 19:10
    Last post on this was in August, I found it from the stickies. Have you given up on it or moved it? Also, what is the advantage of asm over spin except speed? If I only need analog signals analyzed should I stick with spin? Helped alot thanx

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Hmm, "If you can't say something nice, don't say anything at all"

    ······· "No such thing as a dumb question" unless it's on the internet
    ········"What happens in Vegas ends up on the Internet"

    Technologically challenged individual, Please have pity.
  • Graham StablerGraham Stabler Posts: 2,510
    edited 2008-01-12 01:04
    There are only 4 lessons, once done you should move on to deSilva's tutorial, mine will just get someone up and running and remove their fear.

    Assembly is best for speed but analogue signal analysis may also require high speed, it depends on the signal. Learn it when you need it or learn it for the fun of it it's your life.

    Graham
  • AleAle Posts: 2,363
    edited 2008-08-15 07:26
    Graham,

    this could be safely added to the propeller wiki if you do not mind wink.gif. I can add it or better you can. Drop me a line if you agree (or don't)
  • Graham StablerGraham Stabler Posts: 2,510
    edited 2008-08-15 08:02
    Please go ahead if you don't mind doing it, I'm up to my eyeballs at the moment.

    Graham
  • sanketsanket Posts: 28
    edited 2009-08-26 11:03
    Hello....
    My name is sanket shah and i am a student of an electrical engineering in San Jose State University.
    I am doing masters project on propeller chip.
    Can i get information about how machine codes are executed in propeller assembler and how much clock cycles requited for each instruction?
    i want to have a full detail.
    please reply me as soon as possible.ah

    Regards
    Sanket Shah
  • AleAle Posts: 2,363
    edited 2009-08-26 11:24
    I'd read all the docs available:

    The stickies in the Propeller forum, DeSilva's asm tutorial, the wiki at propeller.wikispaces.org and some few threads around here (waitxxx cycle count, and so on) and the propeller manual. And then I'd ask any specific question I could have: You are not the first one on this path so most of the answers you seek have been already addressed there smile.gif

    Ale

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Visit some of my articles at Propeller Wiki:
    MATH on the propeller propeller.wikispaces.com/MATH
    pPropQL: propeller.wikispaces.com/pPropQL
    pPropQL020: propeller.wikispaces.com/pPropQL020
    OMU for the pPropQL/020 propeller.wikispaces.com/OMU
  • StefanL38StefanL38 Posts: 2,292
    edited 2009-08-26 14:40
    OK I give you answer asap,

    but you have to read a disgruntled comment on how you are asking here:

    hey you are doing a MASTER-project ! From real masters it is commonly expected that they can do a research of the manual
    THEMSELF on a basic question like this.

    Anyway on page 254 of the propellermanual is a table called Propeller Assembly Instruction Master Table
    where all commands and its execution time in clocks can be found

    best regards

    Stefan
  • jazzedjazzed Posts: 11,803
    edited 2009-08-26 14:50
    Gee Stefan, lighten up.

    Sanket, welcome to the forum. Go to the Propeller Download Page and get the latest Propeller Tool which has a big Help Menu and various documents. The Propeller Datasheet has EE type information and a list of PASM instructions/clock ticks, etc...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    --Steve

    Propeller Tools
  • StefanL38StefanL38 Posts: 2,292
    edited 2009-09-20 15:42
    This thread was not mentioned in the "Book for absolute beginners. Propeller 101"-thread

    and I wanted the thread to be moved towards the top of the thread-overview for beeing recognized

    it has demoprograms how to transfer data between PASM and SPIN

    transfering data from SPIN to ASM means: transfer a long from HUB-RAM to Cog-RAM by using the PASM-command RDLONG
    at the start of the assembly-program the ADRESS of a SPIN-variable as passed to the PASM-systemvariable "par" through the second parameter
    in the cognew-command that starts the PASM-cog

    transfering data from PASM to SPIN menas transfer a long from Cog-RAM to HUB-RAM by using the PASM-command WRLONG

    best regards

    Stefan
Sign In or Register to comment.