Assembly Code Divided by Org Statement
Bob Drury
Posts: 236
Hello On the other Side
When using assembly code· a symbol label to an Org Statement is used in the Dat section for loaiding
cognew. How does the compiler know that when multiple org statements apear in the Dat section
when to stop compiling for the individual cog? Maybe following is not allowed but it does seem to work.
eg
cognew(@toggle0,0)
cognew(@toggle1,0)
cognew(@toggle2,0)
Dat
············ Org 0
@toggle0· assembly statement
·········· ··· assembly statement
··········· Org 0
@toggle1· assembly statement
··········· ·· assembly statement
··········· Org 0
@toggle2· assembly statement
············· assembly statement
Thanks for help
Bob Drury
When using assembly code· a symbol label to an Org Statement is used in the Dat section for loaiding
cognew. How does the compiler know that when multiple org statements apear in the Dat section
when to stop compiling for the individual cog? Maybe following is not allowed but it does seem to work.
eg
cognew(@toggle0,0)
cognew(@toggle1,0)
cognew(@toggle2,0)
Dat
············ Org 0
@toggle0· assembly statement
·········· ··· assembly statement
··········· Org 0
@toggle1· assembly statement
··········· ·· assembly statement
··········· Org 0
@toggle2· assembly statement
············· assembly statement
Thanks for help
Bob Drury
Comments
-Phil
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
'Still some PropSTICK Kit bare PCBs left!