1 /* define UART sfr only */
2 __sbit
__at(0x98+1) TI
;
5 /* assume P1 for bankswitching address lines */
6 __sfr
__at(0x90) PSBANK
;
9 __sdcc_external_startup (void) __nonbanked
11 /* serial port mode 0 is default */
12 /* enable transmission of first byte */
20 (* (volatile char __xdata
*) 0x7654)= 'p';
21 (* (volatile char __xdata
*) 0x7654)= c
;
37 //while (!TI) /* wait for the last character to be transmitted */
38 // ; /* before hitting the breakpoint */
39 * (char __idata
*) 0 = * (char __xdata
*) 0x7654;
40 (* (volatile char __xdata
*) 0x7654)= 's';