-
用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
-
MCS51单片机C语言实现画圆弧坐标的源程序
MCS51单片机C语言实现画圆弧坐标的源程序-MCS51 C Language painting arc coordinates of the source
- 2023-03-05 19:20:03下载
- 积分:1
-
nRF24E1 multiple single
nRF24E1多发单收,接收程序。原理,切换接收频率。-nRF24E1 multiple single-admission, to receive the procedure. Principle, to switch the receiving frequency.
- 2022-04-12 06:38:10下载
- 积分:1
-
msp430f169 interrupt
msp430f169 中断方式驱动4*4矩阵键盘-msp430f169 interrupt-driven 4* 4 matrix keyboard
- 2023-05-24 20:55:03下载
- 积分:1
-
430成都技术培训会代码,使用IAR
430成都技术培训会代码,使用IAR-4.10打开。-430 technical training in Chengdu will be the code, the use of IAR-4.10 open.
- 2022-02-01 05:53:25下载
- 积分:1
-
c8051f单片机选型,最好的资料,有必要保存
c8051f单片机选型,最好的资料,有必要保存-Selection c8051f single chip, the best information, it is necessary to preserve
- 2022-03-13 20:53:39下载
- 积分:1
-
我最近找的一些关于ADS1252的资料,还有源码,我已经编译过啦
我最近找的一些关于ADS1252的资料,还有源码,我已经编译过啦-Recently, I find some of the information on the ADS1252, and the source code, I have compiled Matata
- 2022-03-23 00:39:57下载
- 积分:1
-
3bcdto3hex, 51 microcontroller programming. All goods received the procedure par...
3bcdto3hex,51单片机汇编程序.所有接品参数在程序中均有说明-3bcdto3hex, 51 microcontroller programming. All goods received the procedure parameters are described
- 2023-01-01 07:55:03下载
- 积分:1
-
对显示器LCD的读写和I2C的控制程序,供大家享用
对显示器LCD的读写和I2C的控制程序,供大家享用-Reading and writing on the LCD display and I2C control procedures for everyone to enjoy
- 2022-08-09 11:24:42下载
- 积分:1
-
一本关于皮层PIC C语言编程的参考书,内容丰富,是入门的好帮手
一本关于皮层PIC C语言编程的参考书,内容丰富,是入门的好帮手-1 on the cortical PIC C programming language reference books, rich in content, is a good helper entry
- 2022-03-16 12:17:04下载
- 积分:1