📄 config.spp
字号:
/*
* config.spp
*
* ST9+ Software Development Toolchain - Version 6.0.0 Apr 5 2000
*
* This file is part of GNU C Compiler for ST9+ Micro-controllers.
*
* This file defines useful macros to dump according without
* regarding the programming model.
*
* General macros value are under the control of command
* line options of gcc9.
*/
#ifndef _CONFIG_SPP
#define _CONFIG_SPP
/* Definition of the ST9+ _call/_ret instructions */
#if defined(MEDIUM) || defined(SPECMED)
#define DESC(SYMBOL) .desc SYMBOL, far
#define _call calls
#define _ret rets
#else /* MEDIUM */
#define DESC(SYMBOL) .desc SYMBOL, near
#define _call call
#define _ret ret
#endif /* MEDIUM */
/* Definition of the ST9+ _pushw/_push/_popw/_pop instructions */
#if defined(PARMUSP)
#define _pushw pushuw
#define _push pushu
#define _popw popuw
#define _pop popu
#define SP RR236
#else /* PARMUSP */
#define _pushw pushw
#define _push push
#define _popw popw
#define _pop pop
#define SP RR238
#endif /* PARMUSP */
/* Enable code optimization of libgcc1 by default */
#define CODE_OPTIMIZATION
/* Use local label (beginning with .L) instead of symbols
that go to the sym table, when compiling under the NDEBUG
macro control. */
/* Uncomment the following macro if you does not want
temporary symbols */
/* #define NDEBUG */
#ifdef NDEBUG
#define LABEL(SYMBOL) .L_ ## SYMBOL
#else /* NDEBUG */
#define LABEL(SYMBOL) __ ## SYMBOL
#endif /* NDEBUG */
/* Define the programming used according to programming macros
definition. */
#if defined(MEDIUM)
#define MEMORY_MODEL medium
#elif defined (SPECMED)
#define MEMORY_MODEL specmed
#else /* MEDIUM */
#define MEMORY_MODEL compact
#endif /* MEDIUM */
#if defined(PARMUSP)
#define PARMS_MODEL parmusp
#else /* PARMUSP */
#define PARMS_MODEL no-parmusp
#endif /* PARMUSP */
#if defined(FP_ON)
#define FP_MODEL fp-on
#else /* FP_ON */
#define FP_MODEL no-fp-on
#endif /* FP_ON */
#define PROGRAMMING_MODEL .assume MEMORY_MODEL, PARMS_MODEL, FP_MODEL
#endif /* _CONFIG_SPP */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -