Shop OBEX P1 Docs P2 Docs Learn Events
Spin and Assembly — Parallax Forums

Spin and Assembly

PHXPHX Posts: 17
edited 2007-02-04 15:35 in Propeller 1
Sorry for the dummy question, but am I right saying that we can't mix Spin and assembly within the same COG ?
I haven't found a way to do in-line assembly without using a separate COG.
Tks for your help,
Richard

Comments

  • Martin HebelMartin Hebel Posts: 1,239
    edited 2007-02-04 15:35
    When running Spin, the byte codes are stored in the shared 32K RAM, the Cog's memory holds the Spin interpreter.

    When pASM is called, the Cog's memory is filled with the ASM's machine·code.

    For a cog, they are mutually exclusive.

    -Martin
Sign In or Register to comment.