Hi all,
Again, search found just about what i needed. However, one thing is baffling me a little bit. I read the pic16F88 datasheet for picaxe 18x, and for the portb direction there are two databytes in trisb, $86, and $186. Can anyone tell me, why there are 2 of these control bytes in the sfr? TRISA makes more sense, as there is only 1 byte for the direction of the pins.
As for why i need to poke the direction registers, I want to connect 2 leds on the picaxe output legs, red and a green one. By poking the output legs as inputs, i can neatly disable both leds by making the leg high impedance imput =)