📄 p_config.h
字号:
#ifndef _CONFIG_H_
#define _CONFIG_H_
#define MAJOR_VERSION 1 /* short */
#define MINOR_VERSION 1 /* short */
#define MINOR_VER1 1
#define MINOR_VER2 1
#define PENCIL_MAJOR 1
#define CHIP INTEL86
#define PUBLISH DOS
#define INTEL86 1
#define INTEL386 2
#define C8051 3
#define M68000 4
#define SPARC 5
#define DOS 1
#define EMBED 2
#define LOWBYTE_HIGH 0
#define LOWBYTE_LOW 1
/* Set the FP_FORMAT type based on the machine selected, either hw or sw */
#define FP_NONE 0 /* no floating point support */
#define FP_IEEE 1 /* conform IEEE floating point standard */
#if CHIP == INTEL86
#define _CPU_SIZE 2
#define WORD_TYPE LOWBYTE_LOW
#endif
#if CHIP == INTEL386
#define _CPU_SIZE 4
#define WORD_TYPE LOWBYTE_LOW
#endif
#if CHIP == C8051
#define _CPU_SIZE 1
#define WORD_TYPE LOWBYTE_HIGH
#endif
#ifndef CHIP
error "In <pencil/config.h> please define CHIP to have a legal value"
#endif
#ifndef WORD_TYPE
error "In <pencil/config.h> please define CHIP to have a legal value"
#endif
#endif /* _CONFIG_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -