-
用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
-
c8051f52X单片机的定时器的源代码
c8051f52X单片机的定时器的源代码-SCM c8051f52X timer source code
- 2023-01-25 07:35:05下载
- 积分:1
-
cstn 1.5 with ST7636的C51测试程序.
cstn 1.5 with ST7636的C51测试程序.-cstn ST7636 1.5 with the C51 test procedures.
- 2022-02-22 03:16:27下载
- 积分:1
-
主要是实现I2C协议的一种方法,主要运行环境是ADS1.2
主要是实现I2C协议的一种方法,主要运行环境是ADS1.2-I2C protocol is mainly to achieve a method, the main operating environment is ADS1.2
- 2022-01-25 14:55:08下载
- 积分:1
-
S08系列单片机AW32的Flash擦写程序,在CodeWarrior变异环境下开发,并附有一个ppt教程...
S08系列单片机AW32的Flash擦写程序,在CodeWarrior变异环境下开发,并附有一个ppt教程-S07 Series MCU AW32 Flash Erasable procedures, Variation in the CodeWarrior development environment, together with a guide ppt
- 2022-04-30 12:18:11下载
- 积分:1
-
MAX197子程序,实现12位AD转换,高精度高速转换
MAX197子程序,实现12位AD转换,高精度高速转换
- 2022-08-24 03:03:27下载
- 积分:1
-
C8051f020单片机内部FLASH读写程序
C8051f020单片机内部FLASH读写程序-C8051F020 single chip microcomputer to read and write procedures for internal FLASH
- 2022-02-26 02:26:15下载
- 积分:1
-
4×4矩阵键盘,当我们按那个键时吧键值显示在数码管上,并把建值发送到PC机;...
4×4矩阵键盘,当我们按那个键时吧键值显示在数码管上,并把建值发送到PC机;-4 × 4 matrix keyboard, when we press that button when you key in the digital tube display, and to build value is sent to the PC machine
- 2023-02-14 17:10:04下载
- 积分:1
-
16位单片机对AD9854控制的实现,主要用于凌阳16位单片机
16位单片机对AD9854控制的实现,主要用于凌阳16位单片机
- 2022-03-23 19:33:33下载
- 积分:1
-
LCD information Daquan, with a look at it.
液晶资料大全,下了看看吧。-LCD information Daquan, with a look at it.
- 2022-02-03 09:01:20下载
- 积分:1