ctra[1] := x compiles, but ...
Phil Pilgrim (PhiPi)
Posts: 23,514
... it doesn't set ctrb or seem to do anything else for that matter. Bummer. I was hoping to write a universal counter setup method that would work for both counters.
(I wonder why it even compiles.)
-Phil
(I wonder why it even compiles.)
-Phil
Comments
Ugh, yeah, I suppose. I never really liked the idea of overloading subscript notation for selecting bits in the first place. It would have been better to come up with a unique syntax that works equally on hub variables and sprs alike.
-Phil
Or, better:
<register or variable>.<bit>
I love Spin, but sometimes the logic of its syntax escapes me. I've got half a mind to write a Spin++ compiler...
-Phil