Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Access Patterns Database Interactions In Object Oriented Applications

Authors: Clifton Nock

1st Edition

0321555627, 978-0321555625

More Books

Students also viewed these Databases questions

Question

On the same day, Kyoto Fund converted $500,000 into JPY at

Answered: 1 week ago

Question

3. How has e-commerce transformed marketing?

Answered: 1 week ago