No.4017 作者:阿土 邮件:john.tong@263.net ID:4222 登陆:1次 QQ:43160666 文章数:14篇 最后登陆IP: 最后登陆:2001/12/26 12:39:00 注册:2001/12/26 12:39:00 财富:83 发帖时间:2001/12/27 10:35:00 发贴者IP:61.135.50.16 标题:阿土:C51编程:很怪的问题 摘要:No.4017C51编程:很怪的问题 请看一下程序: uchar readbuff[21]; uchar ReadChr(uchar byteaddr,uchar len) //从字节地址读取指定长度的字符 { uchar x; MoveTo(byteaddr*8); for(x=0;x<len; x++) { readbuff[x]=ReadB(); } return 0; } 在该函数中,开始自加值x开始时我选用的是程序当中的一个全局变量(uint I;),如下: uchar readbuff[21]; uchar ReadChr(uchar byte ......
>>返回讨论的主题
|