When c8051f02x 's I/O ports is configured to opendrain ,can see the outputting value in the peripherals I/O_ports when debugging?
sorry,I didn't descript the question clearly. When running the command :
P7 = 0X55;
XBYTE[0X8000] = 0X55;//EMIF is configure to P4~P7
I believe you are missing some info about SFR ports. Port 7 is SFR 0x96 which can only be accessed via a direct instruction. The XBYTE macro is used to address XDATA memory via a pointer. There is no indirect access to the SFR memory area. Suggest that you review memory areas idata,data, code and SFR for more info.
The question is ,can it display when running the command : XBYTE[0X8000] = 0X55;//EMIF is configure to P4~P7 I guess you are asking: "can I see the data being written to 0x8000 in P7, the answer is no. See "the bible" chapter 3. Erik