;trans ir remote code subprogram(for tv/vga card)
发一个四字节编码子程序,该编码首地址已在DPTR中。
transr: mov r0,#3
acall bitzer
acall bitone
mov a,#0
tbyte: mov 25h,a
movc a,@a+dptr
mov r1,#8
tt0: jb acc.7,tt1
acall bitzer
jmp tt2
tt1: acall bitone
tt2: rl a
djnz r1,tt0
mov a,25h
inc a
djnz r0,tbyte
ret