I´ve made this board below and I have testet the IO with the following code on each port (I used different Register names for each port):
This works great but If I use bset or bclr instruction then it does not work. I am not able to toggle the led on my breadboard with the following code.)
BSET 0, DDRB ;also tried BSET DDRB, %00000001 without success and also the rest of the code in that way without success
Can anyone help me?
I have to say, I am new to the 16Bit HCS MCU´s but I have a good knowledge on the HCS08. I always write my code in Assembly language.