单片机数字时钟汇编程序

上传人:gu****n 文档编号:65757105 上传时间:2022-03-25 格式:DOC 页数:6 大小:175.50KB
返回 下载 相关 举报
单片机数字时钟汇编程序_第1页
第1页 / 共6页
单片机数字时钟汇编程序_第2页
第2页 / 共6页
单片机数字时钟汇编程序_第3页
第3页 / 共6页
点击查看更多>>
资源描述
In County government legal do 2015 and the Twelve-Five summary and next year work plans Government legal do 2015 and the Twelve-Five summary and next year work plans Twelve-Five planning and the law administrative 55 planning implementation yilai, I city levels the sector Xia big pneumatic advance law administrative and rule of law Government construction, led attention, measures powerful, method properly, effect obviously, law administrative and rule of law Government construction work made has great progress, powerful advance has I City economic social of and good and fast development. Specific reports are as follows: a Twelve-Five during the work completed (a) promoting administration according to law was strengthened. Twelve-Five during, I city seriously implementation in heze City law administrative 55 planning, in annual early of full municipal government legal workshop Shang, insisted arrangements deployment, insisted layer Layer signed law administrative target responsibility, insisted months summary, and quarter scheduling, and years assessment, insisted recognition award work Qian three name County district; around law administrative and rule of law Government construction 1443 work thought, continued punches not pause, and firm target not toss; always will Government legal work points, and law administrative target responsibility, and Implementation of government legal system as the main measures to move forward. After years continued tireless of efforts, I city of law administrative advance work made has significantly results, highlight performance for: levels leaders more attention law administrative work, more consciously using rule of law thinking and rule of law way processing problem, and solution contradictions, law administrative opinion atmosphere more strong, law enforcement personnel law administrative capacity obviously enhanced, people satisfaction degrees increasingly high, law administrative promoted and guarantees economic social development function more appeared. Second, the implementation of the administrative reconsideration law of the powerful. Twelve-Five yilai, I city put administrative reconsideration system construction always as a event to caught, after years of efforts, through strengthening and perfect reconsideration system construction, reform administrative reconsideration system, innovation reconsideration work mechanism, as currently, I city has established sound has administrative reconsideration filed, and trial, and hearing, and mediation reconciliation, and collective research considered, and misjudged held, more than 20 more than items work system; while, also break restricted reconsideration work bottleneck, carried out relative concentrated administrative reconsideration right, City, County and District Administrative Review Committee was set up; innovative modes of administrative reconsideration, to explore the establishment of three centers review mechanisms established review case linkage system to realize information resources sharing. 55 since the implementation of planning, 1300 cases handled reconsideration, the knot rate is above 90%. Third, the Government legal supervision to achieve a breakthrough. To administrative forced method, and legislation method, and administrative procedure, and Shandong province administrative law enforcement supervision Ordinance, and Shandong province administrative program provides, legal regulations issued implementation for opportunity, increased on levels单片机数字时钟汇编程序2010-09-30 20:09最近拿汇编程序写了个数字时钟的程序,走时准确,我亲自试验过。程序设计采用T0方式2工作,有调时功能p1.0 p1.1 p1.2 分别是m键 加键 减键 ,p2口出1,p0口出0时数码管点亮,采用共阳数码管,显示方式为23-59-59,上电初始化为00-00-00。p0.0-p0.6分别接a-gp2.0-2.7分别接 时-分-秒的位p2口接74ls244驱动程序如下: ;主程序 S0 EQU 31H S1 EQU 32H S2 EQU 33H S3 EQU 34H S4 EQU 35H S5 EQU 36H S6 EQU 37H S7 EQU 38H S8 EQU 39H S9 EQU 40H S10 EQU 41H ORG 0000H AJMP START ORG 000BH ;T0入口 LJMP ZDN ORG 45HSTART:MOV R0,#00H MOV R1,#00H MOV R2,#00H MOV R3,#00H MOV R4,#00H MOV R5,#00H MOV R6,#00H MOV R7,#00H MOV S0,#00H MOV S1,#00H MOV S2,#00H MOV S3,#00H MOV S4,#00H MOV S5,#00H MOV S6,#00H MOV S7,#00H MOV S8,#00H MOV S9,#00H MOV S10,#00H MOV TMOD,#02H MOV TH0,#06H MOV TL0,#06H MOV IE,#82H SETB TR0 ;运行T0MAIN: LCALL DISPLAY LCALL KEY LJMP MAIN ;T0中服程序ZDN:PUSH ACC PUSH PSW INC R3 CJNE R3,#200,ZD ;不足50mS返回 MOV R3,#00H INC S0 MOV A,S0 CJNE A,#20,ZD MOV S0,#00H INC R0 CJNE R0,#60,ZD ;不足60s返回 MOV R0,#00H INC R1 CJNE R1,#60,ZD MOV R1,#00H INC R2 CJNE R2,#24,ZD ;不足24h返回 MOV R2,00HZD: POP PSW POP ACC RETI ;显示子程序 ;秒显示DISPLAY: MOV DPTR,#TAB MOV A,R0 MOV B,#10 DIV AB MOV R4,A MOV R5,B MOV A,R5 LCALL CHANGE SETB P2.7 LCALL DELAY5MS CLR P2.7 MOV A,R4 LCALL CHANGE SETB P2.6 LCALL DELAY5MS CLR P2.6 MOV A,#10 ;显示- LCALL CHANGE SETB P2.5 LCALL DELAY5MS CLR P2.5 MOV A,R1 ;分显示 MOV B,#10 DIV AB MOV R4,A MOV R5,B MOV A,R5 LCALL CHANGE SETB P2.4 LCALL DELAY5MS CLR P2.4 MOV A,R4 LCALL CHANGE SETB P2.3 LCALL DELAY5MS CLR P2.3 MOV A,#10 ;显示- LCALL CHANGE SETB P2.2 LCALL DELAY5MS CLR P2.2 MOV A,R2 ;时显示 MOV B,#10 DIV AB MOV R4,A MOV R5,B MOV A,R5 LCALL CHANGE SETB P2.1 LCALL DELAY5MS CLR P2.1 MOV A,R4 LCALL CHANGE SETB P2.0 LCALL DELAY5MS CLR P2.0 RETCHANGE: MOVC A,A+DPTR ;显示输出 MOV P0,A RET ;键盘程序KEY:MOV P1,#0FFH MOV A,P1 CPL A ANL A,#07H JZ RET1 LCALL DELAY10MS MOV A,P1 CPL A ANL A,#07H JZ RET1 JB ACC.0,MKEY JB ACC.1,ADDKEY JB ACC.2,DECKEY RET1:RET MKEY: LCALL K1 LJMP DISPLAYADDKEY:LCALL K2 LJMP DISPLAYDECKEY:LCALL K3 LJMP DISPLAY K1: LCALL DISPLAY LCALL DISPLAY CJNE R6,#4,LOOP1 MOV R6,#00H LJMP FHLOOP1:INC R6FH: RET K2: LCALL DISPLAY LCALL DISPLAY CJNE R6,#1,LOOP2 CJNE R2,#23,LOOP3 MOV R2,#00H LJMP LOOP6LOOP3:INC R2 LJMP LOOP6LOOP2:CJNE R6,#2,LOOP4 CJNE R1,#59,LOOP5 MOV R1,#00H LJMP LOOP6LOOP5:INC R1 LJMP LOOP6LOOP4:CJNE R6,#3,LOOP6 MOV R0,#00HLOOP6:RETK3: LCALL DISPLAY LCALL DISPLAY CJNE R6,#1,LOOP7 CJNE R2,#0,LOOP8 MOV R2,#23 LJMP LOOP11LOOP8:DEC R2 LJMP LOOP11LOOP7:CJNE R6,#2,LOOP9 CJNE R1,#0,LOOP10 MOV R1,#59 LJMP LOOP11LOOP10:DEC R1 LJMP LOOP11LOOP9:CJNE R6,#3,LOOP11 MOV R0,#00HLOOP11:RET DELAY5MS:MOV S1,#5 ;5mS延时D1: MOV S2,#248D2: DJNZ S2,D2 DJNZ S1,D1 RETDELAY10MS:MOV S3,#25 ;10mS延时D4: MOV S4,#200D3: DJNZ S4,D3 DJNZ S3,D4 RET TAB: DB 0C0H,0F9H,0A4H,0B0H,99H,92H,82H,0F8H,80H,90H,0BFH END电路原理图:照片如下:administrative organ and the staff of legal training efforts, 55 planning during, through carried out administrative program years, and reconsideration spring action, and two method a article cases training, held various legal courses more than 1000 duoqi times, cumulative training City Deputy County above leaders and law enforcement backbone and the line . Law enforcement liability for zero tolerance accountability mechanisms to inquire into illegal or improper acts of law enforcement 230 passengers, achieved before, during and after the full range of law enforcement supervision. Integrate monitoring resources, form a monitoring force, ensuring effective legal norms of administrative law enforcement, ensure that the correct and effective implementation of the laws and regulations. 2012 yilai, city attorney, and city monitored Council, and city legal do, and City Archives Council, sector continuous organization carried out to administrative law enforcement files for main content of law enforcement big check activities, check out city administrative license, and administrative punishment, and administrative forced and other various administrative law enforcement files more than 300 copies, proposed rectification recommends more than 500 over, established problem Taiwan account more than 60 multiple, preliminary achieved has administrative law enforcement and criminal judicial effective convergence and seamless docking. Four is the improve system quality entirely. The Twelve-Five period, the citys departments at all levels to seriously implement the normative documents procedures in heze city and the normative documents record measures in heze city, carry out open, transparent, Sunshine legislative activities and listened to opinions and suggestions of the community, and strive to improve public participation, subject position and fully respect the masses pioneering spirit. 55 during planning, normative documents of the Municipal Government today introduced more than 100 pieces, forming a set of consistent with superior policies, with the city actually, and easy to operate system. Insisted normative file three unified system, and strictly implementation normative file sunset terms and validity system, and insisted three level Government four level record system, and insisted has pieces essential, and spare parts will trial, wrong pieces will correcting system, solid carried out has normative file record review activities, municipal government cumulative record review County District Government and municipal government sector various normative file more than 500 pieces, achieved has legal unified and Decree smooth. Five is the establishment and implementation of the Government legal system, achieving full coverage of the legal adviser of the Government System. According to the provincial government requirements, August 2014, the municipal government issued a notice on the establishment of the Government legal system and the heze city government legal counsel rules (Ames, Chief Executives Office (2014), 44th), completed government legal system construction in counties clear time limits. To December 2014, city 9 a county district all introduced has Government counsel system, respectively established has their of legal experts library; city of legal experts library personnel amounted to 151 people, which experts Professor 39 people, accounted for than 25.8%; Legal Affairs workers 112 people, accounted for than 74.2%; part County District used personal + groups service mode, total hired consultant
展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 商业管理 > 营销创新


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!