文件名称:yejingxianshi000003
-
所属分类:
- 标签属性:
- 上传时间:2008-10-13
-
文件大小:1.31kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
红外线遥控器解码程序(汇编)
ORG 0000H
AJMP MAIN
ORG 0003H 外部中断INT0入口地址
AJMP INT 转中断服务子程序
MAIN: MOV SP,#40H
MOV P1,#00H
SETB EA 开CPU中断
SETB IT0 设定INT0触发方式
SETB EX0 INT0请求中断
DSP: MOV R2,#9 将遥控器键值转化成A(0~9)
MOV DPTR,#TAB1
VV: MOV A,R2
MOVC A,@A+DPTR
XRL A,1CH
JZ ABC
DJNZ R2,VV
ABC: MOV A,R2
MOV DPTR,#TAB ;将A的值通过数码管显示出来
-infrared remote control decoder (Compendium) ORG 0000H AJMP MAIN ORG 000 3H external interrupt INT0 address AJMP INT entrance to a break in service subroutine MAIN : MOV SP, # 40H MOV P1, # 00H CPU SETB EA opening set interrupted SETB Indium-Tin-Oxide Substrates INT0 trigger mode SETB EX0 INT0 request interrupted DSP : MOV R2, # 9 will be the remote control keys into A (0 ~ 9) MOV DPTR, # TAB1 VV : MOV A, R2 MOVC A, @ A DPTR photolithography A, interruptive JZ ABC DJNZ R2, VV ABC : MOV A, R2 MOV DPTR, # TAB; A digital value through the tube show
ORG 0000H
AJMP MAIN
ORG 0003H 外部中断INT0入口地址
AJMP INT 转中断服务子程序
MAIN: MOV SP,#40H
MOV P1,#00H
SETB EA 开CPU中断
SETB IT0 设定INT0触发方式
SETB EX0 INT0请求中断
DSP: MOV R2,#9 将遥控器键值转化成A(0~9)
MOV DPTR,#TAB1
VV: MOV A,R2
MOVC A,@A+DPTR
XRL A,1CH
JZ ABC
DJNZ R2,VV
ABC: MOV A,R2
MOV DPTR,#TAB ;将A的值通过数码管显示出来
-infrared remote control decoder (Compendium) ORG 0000H AJMP MAIN ORG 000 3H external interrupt INT0 address AJMP INT entrance to a break in service subroutine MAIN : MOV SP, # 40H MOV P1, # 00H CPU SETB EA opening set interrupted SETB Indium-Tin-Oxide Substrates INT0 trigger mode SETB EX0 INT0 request interrupted DSP : MOV R2, # 9 will be the remote control keys into A (0 ~ 9) MOV DPTR, # TAB1 VV : MOV A, R2 MOVC A, @ A DPTR photolithography A, interruptive JZ ABC DJNZ R2, VV ABC : MOV A, R2 MOV DPTR, # TAB; A digital value through the tube show
(系统自动生成,下载前可以参看下载内容)
下载文件列表
红外线遥控器解码程序(汇编)111.txt
www.dssz.com.txt
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.