ctype.inc

来自「6502 c compiler free open source」· INC 代码 · 共 30 行

INC
30
字号
;; Definitions for the character type tables;; Ullrich von Bassewitz, 08.09.2001;; Make the __ctype table an exported/imported symbol        .global	   __ctype; Define bitmapped constants for the table entriesCT_NONE         = $00           ; Nothing specialCT_LOWER	= $01		; 0 - Lower case charCT_UPPER	= $02		; 1 - Upper case charCT_DIGIT	= $04		; 2 - Numeric digitCT_XDIGIT	= $08		; 3 - Hex digit (both, lower and upper)CT_CTRL	 	= $10		; 4 - Control characterCT_SPACE 	= $20		; 5 - The space character itselfCT_OTHER_WS	= $40		; 6 - Other whitespace ('\f', '\n', '\r', '\t' and '\v')CT_SPACE_TAB	= $80		; 7 - Space or tab character; Combined stuffCT_ALNUM   	= (CT_LOWER | CT_UPPER | CT_DIGIT)CT_ALPHA 	= (CT_LOWER | CT_UPPER)CT_CTRL_SPACE	= (CT_CTRL | CT_SPACE)CT_NOT_PUNCT	= (CT_SPACE | CT_CTRL | CT_DIGIT | CT_UPPER | CT_LOWER)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?