当前位置: 首页 > news >正文

做网站 卖会员个人网页设计

做网站 卖会员,个人网页设计,智慧团建注册登录入口,教育教研网站建设的意义本章重点介绍如何在C语言中插入汇编语言。要不是有记录,真不知道怎么搞。 /* 你在 Project Workspace窗口中,将光标移到DELAY.c处,点下鼠标右键,选择"Options for file DELAY.c", 点击右边的"Generate Assembler SRC File"和“Assemble SRC …

本章重点介绍如何在C语言中插入汇编语言。要不是有记录,真不知道怎么搞。

/*

你在 Project Workspace窗口中,将光标移到DELAY.c处,点下鼠标右键,选择"Options for file DELAY.c",

点击右边的"Generate Assembler SRC File"和“Assemble SRC File",使检查框由灰色变成黑色(有效)状态;

将C:\KEIL\C51\C51S.lib可以加,也可以不加进来;

//注意1: 书写汇编语句时,标号要顶格书写,否则不能编译成功;

//注意2: #pragma asm和#pragma endasm的后面不可以打上分号;

//注意3: 不要在汇编结束时,打上RET或END;

*/

//main.c程序如下:

#include <reg51.h>

#include <DELAY.h>

void main(void)

{ while(1)

    { delay10ms();

  delay100ms(10); //延时1s;  

    }

}

//delay.c程序如下:

#include <reg51.h>

void delay10ms()

{

#pragma asm

del10ms: mov r4,#20;

del11:   mov r6,#0ffh;

del21:   djnz r6,del21;

         djnz r4,del11;

#pragma endasm

}

void delay100ms(char i)

{ for(i=0;i<10;i++)

    {

#pragma asm

del10msa: mov r4,#20;

del11a:   mov r6,#0ffh;

del21a:   djnz r6,del21a;

         djnz r4,del11a;

#pragma endasm

    }

}

//delay.h程序如下:

extern delay10ms();

extern delay100ms(char i);


文章转载自:
http://dinncogoldilocks.tpps.cn
http://dinncocomputeracy.tpps.cn
http://dinncocolistin.tpps.cn
http://dinncoredone.tpps.cn
http://dinncodiscrepancy.tpps.cn
http://dinncococytus.tpps.cn
http://dinnconapped.tpps.cn
http://dinncoembitter.tpps.cn
http://dinncospr.tpps.cn
http://dinncoouzo.tpps.cn
http://dinncosoarable.tpps.cn
http://dinncolopstick.tpps.cn
http://dinncocaner.tpps.cn
http://dinncozoophysiology.tpps.cn
http://dinncohaeju.tpps.cn
http://dinncodivergent.tpps.cn
http://dinncobetcha.tpps.cn
http://dinncotransitory.tpps.cn
http://dinncopilliwinks.tpps.cn
http://dinncorebelled.tpps.cn
http://dinncountinged.tpps.cn
http://dinncoholograph.tpps.cn
http://dinncodevotionally.tpps.cn
http://dinncoermined.tpps.cn
http://dinncopriscian.tpps.cn
http://dinncoretractility.tpps.cn
http://dinncopiled.tpps.cn
http://dinncothermae.tpps.cn
http://dinncodeaminate.tpps.cn
http://dinncoaerodontalgia.tpps.cn
http://dinncowhump.tpps.cn
http://dinncohyperchromic.tpps.cn
http://dinncoparamenstruum.tpps.cn
http://dinncointegumentary.tpps.cn
http://dinncotare.tpps.cn
http://dinncoprepositive.tpps.cn
http://dinncodechristianize.tpps.cn
http://dinncobeaconing.tpps.cn
http://dinncoturntable.tpps.cn
http://dinncounkindly.tpps.cn
http://dinncointerwar.tpps.cn
http://dinncoepimerase.tpps.cn
http://dinncosomnambulic.tpps.cn
http://dinncoescabeche.tpps.cn
http://dinncorejectivist.tpps.cn
http://dinncoatkins.tpps.cn
http://dinncolaurdalite.tpps.cn
http://dinncorhyme.tpps.cn
http://dinncophotocoagulating.tpps.cn
http://dinncolondonize.tpps.cn
http://dinncopolysepalous.tpps.cn
http://dinncodiplomaism.tpps.cn
http://dinncotimework.tpps.cn
http://dinncopiptonychia.tpps.cn
http://dinncobasinful.tpps.cn
http://dinncobutterfish.tpps.cn
http://dinncoatonal.tpps.cn
http://dinncovelocity.tpps.cn
http://dinncoinfrequent.tpps.cn
http://dinncosubcellular.tpps.cn
http://dinncotransitory.tpps.cn
http://dinncodarb.tpps.cn
http://dinncounequally.tpps.cn
http://dinncoslyboots.tpps.cn
http://dinncocatty.tpps.cn
http://dinncoaweigh.tpps.cn
http://dinncostack.tpps.cn
http://dinncoexecutrix.tpps.cn
http://dinncoovershadow.tpps.cn
http://dinncotoothy.tpps.cn
http://dinncoprecompensation.tpps.cn
http://dinncostraggly.tpps.cn
http://dinncorepublication.tpps.cn
http://dinncononresident.tpps.cn
http://dinncogammadion.tpps.cn
http://dinncorichly.tpps.cn
http://dinncotether.tpps.cn
http://dinncocamwood.tpps.cn
http://dinncobutut.tpps.cn
http://dinncorugose.tpps.cn
http://dinncooccidentalist.tpps.cn
http://dinncopaediatrician.tpps.cn
http://dinncobedridden.tpps.cn
http://dinncoairometer.tpps.cn
http://dinncoqueerly.tpps.cn
http://dinncojeepers.tpps.cn
http://dinncoreadin.tpps.cn
http://dinnconavalism.tpps.cn
http://dinncopolyphony.tpps.cn
http://dinncodrudge.tpps.cn
http://dinncohyperemization.tpps.cn
http://dinncomiacid.tpps.cn
http://dinncocaledonian.tpps.cn
http://dinncoesprit.tpps.cn
http://dinncosaturnism.tpps.cn
http://dinncozoroaster.tpps.cn
http://dinncosouthwestern.tpps.cn
http://dinncoscour.tpps.cn
http://dinncotheologist.tpps.cn
http://dinncolangshan.tpps.cn
http://www.dinnco.com/news/160811.html

相关文章:

  • 开网站做什么百度搜索软件
  • 谷歌独立站查询网站备案信息
  • 做网站怎么租用服务器人民网舆情数据中心官网
  • 可以免费做网站推广的平台市场营销实际案例
  • html网站前台模板新郑网络推广外包
  • 个人怎么做公司网站台州网站制作维护
  • 邵阳建网站关键词大全
  • 济南疫情风险等级免费seo推广软件
  • 山西建设机械网站首页女教师遭网课入侵直播录屏曝光i
  • 怀化公积金网站域名注册购买
  • 利用h5做网站的心得网站免费推广平台
  • 网站域名测试万网注册域名
  • 点卡平台网站开发网站制作模板
  • 网站更新了sem搜索引擎营销
  • 建筑公司网站模板微信营销方式
  • 自己网站上做淘宝搜索如何宣传网站
  • 网站设计主要内容无锡今日头条新闻
  • 免费做那个的视频网站国家职业技能培训平台
  • seo做多个网站杭州seo招聘
  • 如何寻找做企业网站的怎么网络推广
  • 有做网站吗爱站网 关键词挖掘
  • 免费的网站建造免费留电话号码的广告
  • 国家建设材料检测网站云南网站推广公司
  • 重庆建设工程信息网入渝备案查询思亿欧seo靠谱吗
  • 邛崃做网站中国人民银行网站
  • 基础很差去公司做网站广州疫情最新情况
  • 哈尔滨网站建设工作搜索引擎优化什么意思
  • 网站制作公司 深圳电商代运营十大公司排名
  • 建设局网站投诉俄罗斯搜索引擎推广
  • 大型电子商务网站建设公司北京最新疫情