Dear All, can you please explain what is this 'static data u8 xdata * next_address' why data is used and why xdata is used ...? Thanks in advance..!
It's all in the Manual. These are Keil proprietary keyword extensions to support the specifics of the 8051 architecture. It sounds like you need to read the uVision Getting Started Guide - and work through the example projects in it. This will give you a proper introduction to the tools, how they work, and how to use them - rather than just blindly jumping-in at the deep end. You probably also need to do some basic reading on the 8051 architecture - the following are commonly referred to as the "bible" for the 8051: Chapter 1 - 80C51 Family Architecture: http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_ARCH_1.pdf chapter 2 - 80C51 Programmers Guide and Instruction Set: http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_PROG_GUIDE_1.pdf chapter 3 - 80C51 Family Hardware Description: http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_HARDWARE_1.pdf