|
CC78K0S Datasheet, PDF (356/520 Pages) NEC – C Compiler Ver.1.30 or Later Language | |||
|
◁ |
CHAPTER 11 EXTENDED FUNCTIONS
(13) Absolute address access function
Absolute Address Access Function
#pragma access
FUNCTION
⢠A code to access the ordinary RAM space is output to the object through direct inline expansion, not by
function call, and an object file can be created.
⢠If the #pragma directive is not described, a function accessing an absolute address is regarded as an
ordinary function.
EFFECT
⢠A specific address in the ordinary memory space can be easily accessed through C description.
USAGE
⢠Describe the #pragma access directive at the beginning of the C source.
⢠Describe the directive in the source in the same format as a function call.
⢠The following items can be described before #pragma access.
⢠Comment statements
⢠Other #pragma directives
⢠Preprocessing directives that neither define nor reference variables or functions
⢠The keywords following #pragma can be described in either uppercase or lowercase letters.
The following four function names are available for absolute address accessing.
peekb, peekw, pokeb, pokew
356
Userâs Manual U14872EJ1V0UM
|
▷ |