PDA

View Full Version : Input one bit per instruction, please show me how



Bobb Fwed
11-18-2010, 01:06 AM
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.

kuroneko
11-18-2010, 01:09 AM
This is one of them http://forums.parallax.com/showthread.php?t=110325. Be aware that intra-chip delays can mess up your timing.