You are on page 1of 1

1

2
3
4
5
6
7
8
9

#11111001b
#10100100b
#10110000b
#10011001b
#10010010b
#10000010b
#11111000b
#10000000b
#10010000b

A
b
c
d
e
f

#10001000b
#10000011b
#11000110b
#10100001b
#10000110b
#10001110b

awal :mov p3,#11101111b


mov p1,#11111001b
acall delay
mov p1,#11111111b
mov p3,#11110111b
mov p1,#10100100b
acall delay
mov p1,#11111111b
mov P3,#11111111b
mov p1,#10110000b
jmp awal
delay : mov r2,#00000000b
tambah : inc r2
cjne r2,#00000011b,tambah
ret

You might also like