Shiftout seems to have stopped working on my BAN40. I can toggle the data pin manually, but for some reason I don't seem to be able to get it to toggle with shiftout. I've tried using a different data pin with the same results. I'm using an ancient Tektronix 222 (10MHz) scope, but it still works. Any glaring errors here? The scope leads are hooked directly to the pins and I have disconnected all external circuits at this point.
edit: to clarify, the scope is connected to the pins on the dev board, not directly to the BAN40. Also, it appears shiftout functions quicker than the simple program. Zooming in results, the clock pulses are nice and square... all 8 of them.
This code:
Code:
CLK CON P19
DAT CON P14
MAIN
HIGH CLK
HIGH DAT
LOW DAT
LOW CLK
GOTO MAIN
Results in this:

However, this code:
Code:
CLK CON P19
DAT CON P14
HIGH CLK
MAIN
SHIFTOUT DAT, CLK, LSBPRE, [$AA\8]
GOTO MAIN
Results in this:
