Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob

F2 MC-16LX Enhancing specification of C Compiler

F2 MC-16LX Enhancing specification of C Compiler

Anonymous
Not applicable

Version: **

Answer:

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()

0 Likes
403 Views
Contributors