subject

An 8-bit register is used to track the status of 8 separate entities (i. e. it is a bit-vector), with 1 signifyiny the unit is free, 0 that it is busy. As always, the bits are labelled from right to left as 0 through 7 For questions a) through d), provide the appropriate bit-mask and operation (and, or, not, xor) required to accomplish the task, and the outcome that answers the query. Remember: 1 => free; 0> busy a) Determine whether unit 2 (the third unit) is free or busy; what outcome indicates that it is busy? bit-mask: operation: outcome if unit 2 is busy:b) Determine if both machines 2 and 6 are free; what outcome indicates that they are free? bit-mask: operation: outcome if both units are free:c) Determine if all units are busy (i. e. no units are free); what outcome indicates that it is is the case? bit-mask: operation: outcome if all units are busy:d) Determine if all units are free (i. e. no units are busy); what outcome indicates that it is is the case? bit-mask: operation: outcome if all units are free:e) Force unit 5 to busy (0), leaving all other units unchanged. The outcome of the operation will be written back over the original bit-vector. bit-mask:

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:00
Amanda needs to create an informative print brochure for her local library’s fundraiser dinner. what critical detail must she have before she starts designing the brochure?
Answers: 1
question
Computers and Technology, 23.06.2019 01:20
Me with this program in c++ ! computers represent color by combining sub-colors red, green, and blue (rgb). each sub-color's value can range from 0 to 255. thus (255, 0, 0) is bright red. (130, 0, 130) is a medium purple. (0, 0, 0) is black, (255, 255, 255) is white, and (40, 40, 40) is a dark gray. (130, 50, 130) is a faded purple, due to the (50, 50, 50) gray part. (in other word, equal amounts of red, green, blue yield gray).given values for red, green, and blue, remove the gray part. ex: if the input is 130 50 130, the output is: 80 0 80. thus, find the smallest value, and then subtract it from all three values, thus removing the gray.
Answers: 3
question
Computers and Technology, 24.06.2019 12:00
Jack is assisting his younger sibling mary with her mathematics assignment, which includes a study of the number system. jack explains to mary that whole numbers are counting numbers that could be used to record the number of fruits in a basket. which data type represents whole numbers? a.integers.b.floating-point numbers. c.strings.d.boolean
Answers: 1
question
Computers and Technology, 24.06.2019 14:00
In the microsoft® access® and microsoft excel® programs, the ribbon contains tabs that are divided into with like tools in them. parts groups containers bunches
Answers: 1
You know the right answer?
An 8-bit register is used to track the status of 8 separate entities (i. e. it is a bit-vector), wit...
Questions
question
Spanish, 06.12.2021 17:40
question
Mathematics, 06.12.2021 17:40
question
Mathematics, 06.12.2021 17:40