I'm tryng to read/write from/to COM1 serial port, but i don't know how. I programe in asembler Thanks
You should download the Keil Evaluation tools. There is an example in the folder Keil\C51\EXAMPLES\Infineon C517 that uses the 2nd serial interface of the 517 device.