********** * Program IO_1 (6811) * * Fetches toggle switches and echoes back to LEDs * * P. H. Anderson, MSU, 12 Sept 91; Checked 12 Sept 91; 19 Jan 93 ********** ORG $C000 LDAA #$00 STAA $1007 * port c configured as 8-bit input TOP LDAA $1003 * get switches STAA $1004 * output to LEDs JMP TOP