3.4.3 HC08 Storage Class Language Extensions

Next: 3.5 Other SDCC language Up: 3.4 Storage Class Language Previous: 3.4.2 Z80/Z180 Storage Class Contents Index
Subsections

- 3.4.3.1 data
- 3.4.3.2 xdata

##
3.4.3 HC08 Storage Class Language Extensions

###
3.4.3.1 data

The data storage class declares a variable that resides in the first 256 bytes of memory (the direct page). The HC08 is most efficient at accessing variables (especially pointers) stored here.

###
3.4.3.2 xdata

The xdata storage class declares a variable that can reside anywhere in memory. This is the default if no storage class is specified.