Shop OBEX P1 Docs P2 Docs Learn Events
Input one bit per instruction, please show me how — Parallax Forums

Input one bit per instruction, please show me how

Bobb FwedBobb Fwed Posts: 1,119
edited 2010-11-17 17:09 in Propeller 1
I've seen it done before, but I can't seem to remember what it was for, probably some prop-to-prop communication. I want to be able to cycle in a bit per instruction.

The best that is possible with standard instructions is a TEST mask, INA WC; RCL val, #1.

The way I remember it, the method used the counters (obviously) and you could just shift the PHSA or one of the registers. It might have required you to burn a pin as an always true or always false type setup...I forget now.

Any help would be useful.

Comments

Sign In or Register to comment.