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: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:30
What is linux? an open source operating system a version of ms dos the first version of unix the newest technology available
Answers: 1
question
Computers and Technology, 22.06.2019 19:20
Amedian in the road will be marked with a white sign that has a black arrow going to the left of the median. true false
Answers: 1
question
Computers and Technology, 22.06.2019 23:00
Which factor is the most important when choosing a website host? whether customers will make secure transactions the number of email accounts provided the purpose of the website the quality of the host control panel
Answers: 3
question
Computers and Technology, 23.06.2019 02:50
There’s only one game mode that stars with the letter ‘e’ in cs: go. which of the options below is it?
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
Mathematics, 24.06.2019 08:30
Questions on the website: 13722367