Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cseg at 8500h
- mov sp, #80h
- ;setb EA
- ;setb TR0
- ;setb ET0
- ;setb TR1
- ;setb ET1
- mov 89h, #00010001b
- mov R1, #0h
- mov TL0, #0h
- mov TH0, #0h
- mov TL1, #0h
- mov TH1, #0h
- O1: mov A, R1
- mov 0FAh, A
- jnb TF0, O2
- sjmp O1
- O2: inc R1
- clr TF0
- mov TL1, #0h
- mov TH1, #0h
- sjmp O1
- cseg at 800Bh
- ;inc R1
- reti
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement