Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cseg at 8100h
- M0: mov A, 090h
- ANL A, #00000001b
- jz M1
- sjmp M2
- M1: mov 0FAh, #00000001b
- ACALL WAIT
- mov 0FAh, #00000010b
- ACALL WAIT
- mov 0FAh, #00000100b
- ACALL WAIT
- mov 0FAh, #00001000b
- ACALL WAIT
- mov 0FAh, #00010000b
- ACALL WAIT
- mov 0FAh, #00100000b
- ACALL WAIT
- mov 0FAh, #01000000b
- ACALL WAIT
- mov 0FAh, #10000000b
- ACALL WAIT
- sjmp M0
- M2: mov 0FAh, #10000000b
- ACALL WAIT
- mov 0FAh, #01000000b
- ACALL WAIT
- mov 0FAh, #00100000b
- ACALL WAIT
- mov 0FAh, #00010000b
- ACALL WAIT
- mov 0FAh, #00001000b
- ACALL WAIT
- mov 0FAh, #00000100b
- ACALL WAIT
- mov 0FAh, #00000010b
- ACALL WAIT
- mov 0FAh, #00000001b
- ACALL WAIT
- sjmp M0
- WAIT: mov A, #0FFh
- W0: jz WFIN
- mov R1, #0FFh
- W2: nop
- nop
- djnz R1, W2
- dec A
- sjmp W0
- WFIN: ret
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement