Question: Use c++ and assembly Suppose the operating system is using the bx register to store the following information bx: Bit# 16 15 14 13 12

Use c++ and assembly

Suppose the operating system is using the bx register to store the following information

bx:

Bit#

16

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

1

1

0

0

1

1

0

0

1

1

0

0

0

0

1

0

Bits 16,15,14 together are the number of printers connected to the computer (110=6)

Bits 12,11 together are the number of disk drives connected to the computer (11=3)

Bits 9,8,7 together are the size of memory (001=1G, 010=2G,011=3G, ,111=7G)

Bits 2,1 together are the number of terminals connected to the system (00=none, 01=1,10=2,11=3)

Us the content of the bx register to display the above information

Sample output:

Content of bx = 1100 1100 1100 0010

Number of printers are 6

Number of disk drives are 3

Memory size is 3G

Number of terminals are 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!