Shop OBEX P1 Docs P2 Docs Learn Events
flexprop 5.0.8 and pr0-pr7 Spin/PASM cog registers — Parallax Forums

flexprop 5.0.8 and pr0-pr7 Spin/PASM cog registers

I just tried compiling a spin2 program in flexprop_5.0.8, that works fine in PNut_v35h and PropTool_2.4.1

flexprop_5.0.8 complains:
error: Undefined symbol pr0
error: Undefined symbol pr1

inline PASM2 code snippet in question:

 getct   pr0                                     ' get current clock count 
.
.
.
 getct   pr1                                     ' get current clock count 

It doesn't appear flexprop_5.0.8 supports/defines these Spin/PASM cog registers/variables, is this true or am I missing something?
They are useful in sharing data between Spin and PASM or just having them available as local variables for use within inline PASM or Spin.

939 x 235 - 64K
Sign In or Register to comment.