-
用C51实现的拼音输入法,这是改写的网友 embuffalo、独步上载在www.21ic.com自由发布区的由张凯原作的51上的拼音输入法程序。
原作使用...
用C51实现的拼音输入法,这是改写的网友 embuffalo、独步上载在www.21ic.com自由发布区的由张凯原作的51上的拼音输入法程序。
原作使用了一个二维数组用以查表,我认为这样比较的浪费空间,而且每个字表的索引地址要手工输入,效率不高。所以我用结构体将其改写了一下。就是大家现在看到的这个。
因为代码比较的大,共有6,000多汉字,这样就得要12,000 byte来存放GB内码,所以也是没办法的 :-(
编译结果约为3000h,因为大部分是索引表,代码优化几乎无效。
在Keil C里仿真芯片选用的是华邦的W77E58,它有32k ROM, 256B on-chip RAM, 1K on-chip SRAM (用DPTR1指针寻址,相当于有1K的片上xdata)。条件有限,没有上片试验,仿真而已。
打算将其移植到AVR上,但CodeAVRC与IAR EC++在结构体、指针的定义使用上似乎与C51不太一样,现在还未搞定。还希望在这方面有经验的网友能给予指导。-C51 with the Pinyin input method, which is rewritten netizens embuffalo. Unrivaled www.21ic.com available in the free publication of the original work by Kai-51 on the Pinyin input method procedures . Appreciate the use of a two-dimensional array for the look-up table, I think this is a waste of space. Each of the characters but the index table to manually input address, efficiency is not high. I use the structure to rewrite a bit. We see now is this. Because the code comparison, a total of 6, more than 000 Chinese characters, this must
- 2023-04-01 14:55:03下载
- 积分:1
-
交通灯控制系统,可灵活设置多路时间
交通灯控制系统,可灵活设置多路时间-Traffic light control system, can be flexibly set up multi-channel time
- 2022-06-18 07:19:04下载
- 积分:1
-
关于2407的sci串口扩展实现dsp的串行通信以及关于地址的问答
关于2407的sci串口扩展实现dsp的串行通信以及关于地址的问答-on the 2407 sci Serial Port Expansion achieve dsp serial communications and addresses on the Net
- 2023-07-10 14:20:02下载
- 积分:1
-
This is the introduction Singlechip Sunplus based PPT lesson plans! If the schoo...
这是介绍凌阳单片机基础的PPT教案!要是有学凌阳的可以好好看看它哦,个人感觉还不错!-This is the introduction Singlechip Sunplus based PPT lesson plans! If the school has Sunplus can look at it, oh well, personal feeling pretty good!
- 2022-03-12 11:49:41下载
- 积分:1
-
这是一个430的延时程序,能够比较精确的延时n us,或者n ms
这是一个430的延时程序,能够比较精确的延时n us,或者n ms-This is a delay of 430 procedures, can be more precise delay n us, or n ms
- 2022-02-04 03:49:44下载
- 积分:1
-
PIC系列单片机程序设计基础。一般来说,PIC单片机的源程序并没有要求统一的格式,大家可以根据自己的风格来编写。...
PIC系列单片机程序设计基础。一般来说,PIC单片机的源程序并没有要求统一的格式,大家可以根据自己的风格来编写。-PIC microcontroller series based on the design process. Generally, the PIC source does not require a uniform format, we can according to their own style to prepare.
- 2022-11-11 19:50:03下载
- 积分:1
-
PIC16F877控制LED进行任何显示,该源码只做了北京两个字的显示...
PIC16F877控制LED进行任何显示,该源码只做了北京两个字的显示-PIC16F877 to control LED of any revealed that the source only the word display in Beijing
- 2022-07-23 14:16:00下载
- 积分:1
-
LCD ――HT1621――PIC程序
LCD ――HT1621――PIC程序-LCD-- HT1621-- PIC procedure
- 2022-03-14 20:50:21下载
- 积分:1
-
串行通信芯片SCC2692驱动源程序(C51)
串行通信芯片SCC2692驱动源程序(C51)-serial communications chips SCC2692 driver source (C51)
- 2022-07-22 09:13:28下载
- 积分:1
-
serial Function Set Easy
serial函数集 好用-serial Function Set Easy
- 2022-02-15 07:01:11下载
- 积分:1