I have an task to generate an Random numbers in assembly language just like rand function in c Language but in assembly language i had to extract the B0,B5,B6 bit from the 8 bit data number and perform the following tasks on that bit
- EOR B5 and B6
- EOR B0 and result of (B5 ^ B6)
- And result of task 2 will be replace to MSB bit of the 8 bit data.
I've done the first 2, but can I replace the MSB bit with the result of task 2?