سلام برنامه ای نوشتم که کاراکتر A را با ماتریس 8*8 نشون بده برنامه ی کاراکتر ثابت جواب میده حالت متحرک جواب نمیده نمیدونم اشکال برنامه ام کجاست ممنون میشم راهنمایی کنید
mov 40h,#01111110b
mov 41h,#01001000b
mov 42h,#01001000b
mov 43h,#01001000b
mov 44h,#01001000b
mov 45h,#01111110b
mov 46h,#00h
mov 47h,#00h
ebteda: call dddd
call delay1
call cccc
jmp ebteda
dddd: call delay
call pulse
mov p1,40h
call delay
call pulse
mov p1,41h
call delay
call pulse
mov p1,42h
call delay
call pulse
mov p1,43h
call delay
call pulse
mov p1,44h
call delay
call pulse
mov p1,45h
call delay
call pulse
mov p1,46h
call delay
call pulse
mov p1,47h
ret
cccc: mov 48h,47h
mov 47h,46h
mov 46h,45h
mov 45h,44h
mov 44h,43h
mov 43h,42h
mov 42h,41h
mov 41h,40h
ret
delay: mov r5,#148
here: djnz r5,here
nop
ret
pulse: clr p3.0
nop
setb p3.0
nop
ret
delay1: mov r6,#10
bb: mov r4,#200
aa: mov r3,#250
here1: djnz r3,here1
djnz r4,aa
djnz r6,bb
ret
end
mov 40h,#01111110b
mov 41h,#01001000b
mov 42h,#01001000b
mov 43h,#01001000b
mov 44h,#01001000b
mov 45h,#01111110b
mov 46h,#00h
mov 47h,#00h
ebteda: call dddd
call delay1
call cccc
jmp ebteda
dddd: call delay
call pulse
mov p1,40h
call delay
call pulse
mov p1,41h
call delay
call pulse
mov p1,42h
call delay
call pulse
mov p1,43h
call delay
call pulse
mov p1,44h
call delay
call pulse
mov p1,45h
call delay
call pulse
mov p1,46h
call delay
call pulse
mov p1,47h
ret
cccc: mov 48h,47h
mov 47h,46h
mov 46h,45h
mov 45h,44h
mov 44h,43h
mov 43h,42h
mov 42h,41h
mov 41h,40h
ret
delay: mov r5,#148
here: djnz r5,here
nop
ret
pulse: clr p3.0
nop
setb p3.0
nop
ret
delay1: mov r6,#10
bb: mov r4,#200
aa: mov r3,#250
here1: djnz r3,here1
djnz r4,aa
djnz r6,bb
ret
end