-
用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
-
本程序给出了一种msp430单片机模拟实现i2c总线的一种方法
本程序给出了一种msp430单片机模拟实现i2c总线的一种方法-this procedure gives a MCU Controller Simulation i2c a method Bus
- 2022-05-05 17:06:25下载
- 积分:1
-
hardware stack of chips w3100a DHCP realized, 51 microcontroller, development en...
硬件协议栈芯片w3100a的DHCP实现,51单片机,keil51开发环境-hardware stack of chips w3100a DHCP realized, 51 microcontroller, development environment keil51
- 2022-01-24 16:27:59下载
- 积分:1
-
PIC SCM DS1302 clock chip assembler Display seconds/minute/hour/date/month/day/y...
PIC单片机控制时钟芯片DS1302汇编程序
Display 秒/分/小时/日期/月/日/年
-PIC SCM DS1302 clock chip assembler Display seconds/minute/hour/date/month/day/year
- 2022-04-21 01:19:29下载
- 积分:1
-
C8051F020单片机步进电机控制源程序
C8051F020单片机步进电机控制源程序-C8051F020 stepper motor control source
- 2022-04-28 10:58:09下载
- 积分:1
-
USB主机方式的应用可以参考CH375的资料,与计算机连接的USB设备方式(或自己做U盘)可以参考CH372
的资料。如果是读写U盘并且用量较少或者是系统...
USB主机方式的应用可以参考CH375的资料,与计算机连接的USB设备方式(或自己做U盘)可以参考CH372
的资料。如果是读写U盘并且用量较少或者是系统集成,关心快速入门并且简单易用,那么可以参考半成
-USB host mode the application can reference CH375 information, and computer-connected USB devices (or their own to do U disk) can refer to the information CH372. If it is to read and write U disk and the amount of less or systems integration, care and easy-to-use Quick Start, it can refer to semifinished
- 2023-05-08 11:35:02下载
- 积分:1
-
用两个89S52作的异步串行双工通信之发送程序
用两个89S52作的异步串行双工通信之发送程序-89S52 made with two duplex asynchronous serial communications sent procedures
- 2023-02-13 18:45:03下载
- 积分:1
-
PC - MCU 串行通迅程序
单片机接收主机的数据,然后将数据传送到P0口, 并传回给主机 当按下AN1时, 单片机发送字串给主机-PC-MCU serial communications procedures SCM receive mainframe data, and data transmission to the P0 mouth and passed back to the mainframe when pressed AN1, SCM string sent to the mainframe
- 2023-03-09 04:15:03下载
- 积分:1
-
键盘原理图键盘示意图
键盘示意图键盘示意图
- 2022-03-21 04:58:36下载
- 积分:1
-
FAT16文件系统原理,较详细的说明文件,很好的资料
FAT16文件系统原理,较详细的说明文件,很好的资料-FAT16 file system principle, more detailed documentation, very good information
- 2022-02-05 01:47:01下载
- 积分:1