The 8-bit registers AR, BR, CR, and DR initially have the following values: AR= 11110010, BR= 11101111, CR= 10111001 , DR= 11101010 Determine the 8-bit values in each register after the execution of the following sequence of microoperations. AR <-AR + BR CR <- CR 16 ^ DR, BR <- BR + 1 AR <-AR – CR
"AR<-(-AR)+BR\\\\\n-AR=00001101+1=00001110\\\\\nBR=11101111\\\\\nAR<--AR+BR=11111101\\\\\nCR<-(-CR)=01000111\\\\\nDR<-16{}\\hat{}DR=00010000AND11110010=00010000\\\\\nBR<-BR+1=00010001+1=00010010\\\\\nAR<-(-AR)+(-CR)=00000010+10111001=10111011"
Comments
Leave a comment