END?
MacGeek117
Posts: 747
Is there any sort of END command with the Propeller, or will any similar command be made?
RoboGeek
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"I reject your reality and subsitute my own!"
Adam Savage, Mythbusters
www.parallax.com
www.goldmine-elec.com
www.expresspcb.com
www.startrek.com
·
RoboGeek
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"I reject your reality and subsitute my own!"
Adam Savage, Mythbusters
www.parallax.com
www.goldmine-elec.com
www.expresspcb.com
www.startrek.com
·
Comments
is the the same as
"COGSTOP stops a cog whose ID is CogID and places that cog into a dormant state.
the cog ceases to receive System Clock pulses so that power consumption is greatly reduced." ?
It dosent mention tristating the outputs.
Does this mean that this or something like it is added automaticaly at the program end ?
Can You easily access this end area and display it on the vga monitor?
Phillip Y.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chip Gracey
Parallax, Inc.
From a SPIN code perspective what instruction token does the COG interpreter program get from main memory after the last user program instruction token ie. the end ?
This would automaticaly added to the program and not coded by the user.
I doubt that the spin interperter checks each instruction for the boundary of the program end.
This all happens in the Spin interpreter. There is no assembler code running, except what is in the interpreter. These byte codes that get executed as Spin get picked up from main memory. The interepreter doesn't know anything about program boundaries reaching the end. It just does a Spin return·after the·Spin code runs out and that return points to a three-byte sequence in ROM which, when executed as Spin code,·makes the interepreter stop itself.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chip Gracey
Parallax, Inc.
RoboGeek
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"I reject your reality and subsitute my own!"
Adam Savage, Mythbusters
www.parallax.com
www.goldmine-elec.com
www.expresspcb.com
www.startrek.com
·