Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MOV 20h, #01h
- MOV 21h, #02h
- MOV 22h, #03h
- MOV 23h, #04h
- MOV 24h, #05h
- MOV 25h, #06h
- MOV 26h, #07h
- MOV 27h, #08h
- MOV 28h, #09h
- MOV 29h, #0Ah
- MOV R2, #0Ah ;Counter
- MOV R0, #20h ;Start of Source
- MOV R1, #25h ;Start of Destination
- MOV A, R0
- ADD A, R2
- MOV R0, A
- MOV A, R1
- ADD A, R2
- MOV R1, A
- loop: DEC R0
- DEC R1
- MOV A, @R0
- MOV @R1, A
- DJNZ R2, loop
- END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement