D desmondlai New Member Oct 15, 2009 #1 how to set all PORT A & PORT C into all OUTPUT..... in asm form i dont want C code.....
Noggin Member Oct 15, 2009 #2 Nigel has some good tutorials for the PIC in assembly at WinPicProg Page <-- that one should help you figure out what you need to know
Nigel has some good tutorials for the PIC in assembly at WinPicProg Page <-- that one should help you figure out what you need to know
Papabravo Well-Known Member Most Helpful Member Oct 15, 2009 #3 desmondlai said: how to set all PORT A & PORT C into all OUTPUT..... in asm form i dont want C code..... Click to expand... Something like Code: ldaa #0FFh ; All ones to accumulator A staa DDRA ; All PORTA bits are outputs staa DDRC ; All PORTC bits are outputs
desmondlai said: how to set all PORT A & PORT C into all OUTPUT..... in asm form i dont want C code..... Click to expand... Something like Code: ldaa #0FFh ; All ones to accumulator A staa DDRA ; All PORTA bits are outputs staa DDRC ; All PORTC bits are outputs