ljmp start
org 0100h
start:lcall dely
mov dptr,#0300h
mov a,#80h
movx @dptr,a
loop0:mov r5,#16
mov r6,#0
loop1:mov dptr,#0200h
mov a,r6
movx @dptr,a
mov dptr,#tabl
rl a
movc a,@a+dptr
mov dptr,#0000h
movx @dptr,a
mov a,r6
rl a
inc a
mov dptr,#tabl
movc a,@a+dptr
mov dptr,#0100h
movx @dptr,a
lcall dely
inc r6
djnz r5,loop1
sjmp loop0
dely: mov r7,#20
lop0: mov r4,#10
lop: nop
nop
nop
djnz r4,lop
djnz r7,lop0
ret
tabl:
DB 0,2,0,2,0,2,0,1;
DB 48,61,44,19,160,8,36,2;
DB 40,2,16,2,40,5,4,9;
DB 130,48,64,224,0,0,0,0;"欢",1
DB 0,0,0,2,8,3,208,56;
DB 64,36,64,36,94,36,80,53;
DB 200,4,16,4,16,4,254,1;
DB 0,254,0,48,0,0,0,0;"迎",0
end应该是个插头或者短路子,就像一个开关,连接通后,左边的信号线P00-P06与器右边的RL,D,C,BA等线可以连接起来,断开时,单片机P00-P06可以用于别的实验连接。
在PROTUS里面,你就当J01不存在,把两边的线直接连起来就行了
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)