Question: what is pdata in c?
Answer: The pdata memory type may be used to declare variables only. You may not declare pdata functions. This memory is indirectly accessed using 8-bit addresses and is one 256-byte page of external data RAM of the 8051. ... Variables declared pdata are located in the PDATA memory class.