-
用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
-
51单片机及其C语言程序开发实例第7章节
51单片机及其C语言程序开发实例第7章节-51 SCM and its C language program to develop examples of section 7 of chapter
- 2022-10-15 22:45:03下载
- 积分:1
-
串口通信的光纤调制解调产品“光猫”的AT89C2051单片机完整源代码及其说明...
串口通信的光纤调制解调产品“光猫”的AT89C2051单片机完整源代码及其说明-serial communication fiber modem products "- cat" AT89C2051 integrity of the source code and its description
- 2022-01-24 09:06:41下载
- 积分:1
-
C8051F040 operation timing of the HT1380, as well as set
C8051F040的HT1380操作时序,以及时间设置和LCD时间显示(显示小时和分钟)-C8051F040 operation timing of the HT1380, as well as set-up time and time LCD display (shows hours and minutes)
- 2022-05-21 07:05:24下载
- 积分:1
-
51读写硬盘的程序模块,编译完全通过,移植方面,实用.
51读写硬盘的程序模块,编译完全通过,移植方面,实用.-literacy drives 51 program modules, compile full, transplant and practical.
- 2022-01-26 06:06:33下载
- 积分:1
-
2300时钟芯片的读写函数。主要说明SD2300时钟的应用
2300时钟芯片的读写函数。主要说明SD2300时钟的应用-2300 clock chip to read and write function. The main clock SD2300 Application Note
- 2023-06-02 07:30:02下载
- 积分:1
-
51开发板调试程序,包括LED驱动接口,串口,AD/DA,EEPROM,蜂鸣器,键盘以及16*2LCD驱动模块,并提供单字节和字符串显示接口...
51开发板调试程序,包括LED驱动接口,串口,AD/DA,EEPROM,蜂鸣器,键盘以及16*2LCD驱动模块,并提供单字节和字符串显示接口-51 development board debugger, including the LED drive interface, serial, AD/DA, EEPROM, buzzer, keypad and 16* 2LCD driven module, and provides single-byte and string display interface
- 2022-05-16 23:53:09下载
- 积分:1
-
STM32的工程模板,基于IAR5.40的ST固件库V3.1.0,提供GPIO实例
STM32的工程模板,基于IAR5.40的ST固件库V3.1.0,提供GPIO实例-STM32 project template, the ST-based IAR5.40 firmware library V3.1.0, providing GPIO instance
- 2023-08-29 17:25:04下载
- 积分:1
-
在IAR Embedded Workbench IDE平台使用ATmega1280的USART1口的编译连接通过的485通信的master机和slave2以及s...
在IAR Embedded Workbench IDE平台使用ATmega1280的USART1口的编译连接通过的485通信的master机和slave2以及slave3的程序-IAR Embedded Workbench IDE in the platform of the ATmega1280 compiler USART1 I connect the 485 through the master communication and slave3 procedures, as well as slave2
- 2022-05-26 11:36:32下载
- 积分:1
-
我上传的一些单片机的资料,数字钟的实验程序,希望对大家有帮助...
我上传的一些单片机的资料,数字钟的实验程序,希望对大家有帮助-I uploaded some Singlechip information, digital clock Experimental procedures, we hope to help
- 2022-10-08 11:45:03下载
- 积分:1