As far as I know, 0 is completely valid, as colleagues have used it ok, and also when the program runs, loading 00 turns output port to 0.
As for using another register to set port mode, are you infering i use the index register to set value to the output port?
Other than that, you've confused...
Ok, I am writing a simple program for Motorola GP HC608.
My problem is basically I set PortB as output port and store 00 in it, which works, then when ever I try to load
values into the acumulator, and then store them in port b, it wont write them.
Here's my program up until the error...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.