Will it work via a pointer
SYMBOL PORT_PIN = PORTA
while PORT_PIN.0[pin] = 0
Worth a try I guess, unable to test.
or a loop of
mybyte = portA
while mybyte.0(pin) = 0
By the way re: "You are right, bit shuffling and time wasting"
MOVE?BB PORTA, _B0
AND?BCB _B1, 00Fh, _B1
NCD?BB _B1, _B0
LABEL?L L00002
END
thats the size of the code in assembly using ncd added the "and" to remove msb




Bookmarks