Keil™, An ARM® Company

Discussion Forum

static data u8 xdata * next_address

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Karthik Raja
Posted
20-Dec-2004 23:10
Toolset
C51
New! static data u8 xdata * next_address
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..!
Read-Only
Author
Andrew Neil
Posted
21-Dec-2004 01:43
Toolset
C51
New! RE: static data u8 xdata * next_address
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

Next Thread | Thread List | Previous Thread Start a Thread | Settings