-
用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
-
430 Singlechip msp430f169 clk operation has a rich peripheral module clock which...
msp430f169 clk操作 430单片机有丰富的外围模块其中时钟可以有多种选择可以令单片机能在各种速度下运行-430 Singlechip msp430f169 clk operation has a rich peripheral module clock which can have a wide range of choices can make single-chip can run at various speeds
- 2022-02-03 05:01:08下载
- 积分:1
-
Collection of single
单片机语言C51实战集锦,常用基本程序可用于编程参考-Collection of single-chip real C51 language, the basic procedures used can be used for programming reference
- 2022-07-26 15:11:58下载
- 积分:1
-
AD7705的驱动程序,采用C51开发。
AD7705的驱动程序,采用C51开发。-AD7705 driver development using C51.
- 2022-04-06 13:47:52下载
- 积分:1
-
myson 单片机cs8954 demo code!
myson 单片机cs8954 demo code!-SCM cs8954 demo code!
- 2022-05-05 13:57:44下载
- 积分:1
-
利用8051驱动MAX1898,实现智能化的充电器。
利用8051驱动MAX1898,实现智能化的充电器。-Use 8051 driver MAX1898, realize intelligent charger.
- 2022-05-21 15:05:20下载
- 积分:1
-
how to use st mcu c langugue,cosmic
how to use st mcu c langugue,cosmic
- 2022-03-15 08:08:42下载
- 积分:1
-
与epson m
与epson m-150打印机通信,但是有些错误,希望高手指正一下-With epson m-150 printer communication, but some mistakes, hope you can correct me about
- 2022-04-30 19:07:17下载
- 积分:1
-
ds1302应用实例 烧进单片机即可应用 不看后悔
ds1302应用实例 烧进单片机即可应用 不看后悔-ds1302 Applications can be burned into the microcontroller application Bukanhouhui
- 2022-06-02 00:30:00下载
- 积分:1
-
MCS51单片机C语言实现画圆弧坐标的源程序
MCS51单片机C语言实现画圆弧坐标的源程序-MCS51 C Language painting arc coordinates of the source
- 2023-03-05 19:20:03下载
- 积分:1