The 8-bit register AR, BR, CR, and DR initially have the following values: [5]
AR = 11010010;BR = 11111111;CR = 10101001;DR = 10101010
Determine the 8-bit values in each register after the execution of the following sequence of microoperations.
AR <-AR + BRÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Add BR + AR
CR <- CR AND DR, BR<-BR + 1Â Â Â Â AND DR to CR, Increment BR
AR<- AR -Â CRÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Subtract CR from AR
The answer to your question is provided in the image:
Comments
Leave a comment