Professional Documents
Culture Documents
; It includes the first three letters of my Surname which are 'B','H','E'. With the
help of the International Morse Code table the required dots and dashes can be
figured out.
mainloop:
call dash
call space
call dot
call space
call dash
call space
call dot
call letterdelay
call dot
call space
call dash
call space
call dot
call letterdelay
rjmp mainloop
call delay
ret
ldi r20, 3
loop4: call delay
dec r20
cpi r20, 0
brne loop4
ret
loop3: nop
dec r18
cpi r18, 0
brne loop3
dec r17
cpi r17, 0
brne loop2
dec r19
cpi r19, 0
brne loop1
ret