Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
hello there,i would like to ask you guys opinion on how to create the simplest c code to reverse a binary number example 00001111 --> 11110000. i did mine but i think its quite long and i hope you guys could share your idea with me. thanks^^
For 8051 MCUs:
....
....
MOV A, byte
MOV counter, #8
LOOP:
RLC A
XCH A, temp
RRC A
XCH A, temp
DJNZ counter, LOOP
....
....
The register "temp" holds the inverse of "byte"
Kerim