Question
I/O PORTS
Posted on November 06, 2010 at 23:34
Dear,
I need your help about...I'm programing by asm, I need to use the outputs ports to control lcd numbers. i don't know how to do to prepair the port to do output port. I don't understand the port configuration and usage manual 14587 page 100 Is the adress 0x5000 the correct adress to take out the data port a? void main(void) { #asm LD A,#2 LD $0,A ld a,#4 ld $2,a mov $3,$0 ld a,#8 ld $f,a ld a,#4 ld $0x5000,a ''PORT A DATA OUTPUT REGISTRER'' #endasm