文件名称:yejingxianshi000003
介绍说明--下载内容均来自于网络,请自行研究使用
红外线遥控器解码程序(汇编)
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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 89346514yejingxianshi000003.rar 列表 红外线遥控器解码程序(汇编)111.txt