Shop OBEX P1 Docs P2 Docs Learn Events
Spin2asm — Parallax Forums

Spin2asm

nicolad76nicolad76 Posts: 164
edited 2008-04-15 13:07 in Propeller 1
Hi...I believe that any SPIN code gets translated int ASM at some point...am I correct?
If this is correct...there is any way to see how my SPIN code come out in ASM?
Thx!
·

Comments

  • stevenmess2004stevenmess2004 Posts: 1,102
    edited 2008-04-15 12:16
    Nope. Spin gets compiled to spin bytecode which is interperted by an interperter. GEAR will show you the bytecode and some made up names for them. Chip released the interpreter a while ago. Thanks to Prop Magazine I can even find the thread http://forums.parallax.com/showthread.php?p=711064 smile.gif
  • BeanBean Posts: 8,129
    edited 2008-04-15 12:17
    The Spin code never gets translated to ASM.
    Spin code get converted to token that are executed by the spin interpreter.

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Did you know that 111,111,111 multiplied by 111,111,111 equals 12345678987654321 ?

    www.iElectronicDesigns.com

    ·
  • hippyhippy Posts: 1,981
    edited 2008-04-15 13:07
    Spin gets converted to bytecode which could be called 'assembler' for the interpreter which executes it, but it's not the same assembler as a Cog executes (PASM).

    There's my Spin bytecode disassembler here if you want to see what the bytecode looks like ...

    http://forums.parallax.com/showthread.php?p=665019
Sign In or Register to comment.