
REVERSE:
 MOV R0,#08h ;Number of bits
REVERSELOOP:
 MOV C,ACC.0
 RR A
 XCH A,R1
 RL A
 MOV ACC.0,C
 XCH A,R1
 DJNZ R0,REVERSELOOP
 RET
