kanji.inc
资源名称:DOS系统的源代码.rar [点击查看]
上传用户:xiaoan1112
上传日期:2013-04-11
资源大小:19621k
文件大小:1k
源码类别:
操作系统开发
开发平台:
Visual C++
- ;*
- ;* CW : Character Oriented Windows
- ;*
- ;* kanji.inc : Kanji / DBCS support
- ;* * first range: 81->9F
- chDbcMin1 = 081H
- chDbcMac1 = 09FH+1
- ;* * second range: E0->FC
- chDbcMin2 = 0E0H
- chDbcMac2 = 0FCH+1
- ;********** JmpNotDbc **********
- ;* entry: al = first character
- ;* * jump to label if not first byte of D.B. character
- ;* * Trashes nothing except flags
- JmpNotDbc MACRO label
- LOCAL is_dbc
- cmp al,chDbcMin1
- jb label
- cmp al,chDbcMac1
- jb is_dbc
- cmp al,chDbcMin2
- jb label
- cmp al,chDbcMac2
- jae label
- is_dbc:
- ENDM