-
用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
-
AVR_Meag8模拟USB接口,并实现数模采集ADC,包含PC机端源码
AVR_Meag8模拟USB接口,并实现数模采集ADC,包含PC机端源码-USB interface AVR_Meag8 analog and digital-analog acquisition realize ADC, includes PC-side source
- 2022-03-09 11:42:48下载
- 积分:1
-
单片机外部中断
串口中断 定时中断 单片机外部中断
串口中断 定时中断...
单片机外部中断
串口中断 定时中断 单片机外部中断
串口中断 定时中断 -micro conctol micro conctol micro conctol micro conctol
- 2022-04-30 21:13:51下载
- 积分:1
-
MSP 430 computer communication between the USB interface code
MSP 430 计算机USB接口之间的通讯代码-MSP 430 computer communication between the USB interface code
- 2022-02-02 10:59:05下载
- 积分:1
-
一个简单的时钟开发程序,显示时,分,秒!!!
可以接上数码管再加上简单的转换就可以制作为简单的电子表...
一个简单的时钟开发程序,显示时,分,秒!!!
可以接上数码管再加上简单的转换就可以制作为简单的电子表-Clock to develop a simple procedure, show hours, minutes and seconds!!! Can be connected to digital tube coupled with a simple conversion can create a simple e-form
- 2022-02-01 17:47:12下载
- 积分:1
-
NTP客户端,可以得到关于时区的当前时间的很多。
ntp client, can get the current time about the lots of time zone.
- 2022-04-13 04:25:07下载
- 积分:1
-
SDU的字库,主要包垮一些程序代码,很好用的,希望对大家有用...
SDU的字库,主要包垮一些程序代码,很好用的,希望对大家有用-SDU
- 2022-01-28 15:28:47下载
- 积分:1
-
arm的各种源码 包含(16c54四位LED时钟显示程序,16C84的RB口中断程序,16C84做的智能卡程序,电机速度控制,ICD仿真器的源程序,PIC单片机
arm的各种源码 包含(16c54四位LED时钟显示程序,16C84的RB口中断程序,16C84做的智能卡程序,电机速度控制,ICD仿真器的源程序,PIC单片机循环程序应用实例,led的动态显示,CAN 的调试程序,DTMF cm8770 双音频解码程序,USART 通过232通讯例程-arm contains the source code (16c54 four LED clock display program, 16C84 RB I interrupt procedures, 16C84 do smart card procedures, motor speed control, the ICD simulator source, PIC cycle application procedures, led the dynamic display, and debug procedures CAN , DTMF cm8770 dual audio decoding procedures, USARTs through the 232 communications routines
- 2023-03-17 00:15:04下载
- 积分:1
-
verilig准备使用CPLD读写EEPROM(74lc21)程序
利用Verilig编写CPLD读写EEPROM(74LC21)程序-Verilig prepared to use CPLD to read and write EEPROM (74LC21) procedures
- 2023-04-03 15:35:03下载
- 积分:1
-
max7219仿真及代码,已经经过调试,供大家参考使用,内有仿真源文件...
max7219仿真及代码,已经经过调试,供大家参考使用,内有仿真源文件-max7219 simulation and code, had already been debugging for reference use within the simulation source files
- 2022-05-30 00:42:34下载
- 积分:1