PDA

View Full Version : Spin and Assembly



PHX
02-04-2007, 10:21 PM
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

Martin Hebel
02-04-2007, 11:35 PM
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