Fujitsu The Possibilities are Infinite

Back to Know-How on Development for F2MC-16LX Family

7. Extended specifications of C Compiler

To conform the program description of built-in equipment, extended language specifications are details below.
When executing programs, extended language specifications need to use effectively.

This content describes the extended language specifications supported by the Softune C Compiler.

  • Assembler description of using "_asm" statement
    Example: _asm("MOV A,#00H" )
  • Extended type qualifier
    _near
    _far
    _io
    _direct
    _interrupt
    _nosavereg
  • Extended functions of using "#pragma" statement
    #pragma asm/endasm
    #pragma inline
    #pragma section
    #pragma segment
    #pragma ilm/noilm
    #pragma register/noregister
    #pragma ssb/nossb
    #pragma except/noexcept
    #pragma intvect
    #pragma defvect
  • built-in functions of interrupt control
    _DI()
    _EI()
    _set_il()
  • Other built-in functions
    _wait_nop()
    _mul()
    _mulu()
    _div()
    _divu()
    _mod()
    _modu()