Ask Question, Ask an Expert


Ask Computer Engineering Expert

problem 1: Suppose there are 64 different op codes and 19-bit instruction word in a computer system. Two bits in the instruction are reserved to point out the addressing mode.

a) Draw a box style sketch of a CPU showing and labeling Special Purpose Registers:

PC, IR, MAR and MDR and General Purpose Registers: Accumulator, R0-R3.

b) How many different memory locations can this system access by using direct and absolute addressing mode?

c) How many different memory locations can this CPU access by using base or offset addressing mode, if a 14-bit general purpose register serves as the base and can be loaded with any value?

problem 2: Consider an 8-bit system with 32-memory locations (numbered from 0 to 31) and 8 different instructions. Suppose that op code for "Load Accumulator" instruction is 510 and for "Add" instruction is 210. At this moment, the program counter register PC includes the value 00100 and is about to increment, memory locations contain the given values:

Address Contents:

01101   00110110
01100   01110100
01011   10111000
00110   01001100
00101   10101011
00100   01111000

Perform two fetch-execute cycles, present each step of the cycles and the contents of each special-purpose register at the starting and at the end of each step of the cycles in binary.

If you believe there is no information on the contents of a particular register, point out it as [unknown] (ex: MDR [unknown]). If overflow takes place, the MSB is stored in a single-bit flag register and not counted in Accumulator. Express the final contents of Accumulator in both binary and decimal. For your answer, use the given table (two first lines are given as sample):

1234_accumulator table.jpg

problem 3: Draw a memory map for a system with a memory capacity of 512MB. Each memory location in the system is 8 bits. Suppose that the system consists of one 4MB memory block used as ROM residing at the bottom of the memory followed by one 16MB module and one 8MB module of RAM. The rest is conventional memory, except for 1MB block at the top used as cache memory. Point out the position of each memory module in your memory map. In hexadecimals, label the starting byte address and ending byte address of each memory block (including empty space). And also, label the size of each memory block in MB.

problem 4: An interrupt is produced by a laser printer as a means of allocating the CPU time. Describe the sequence of events in this computer system by using polled type of interrupt handling.

problem 5: A multiplattered HDD is divided into 40 sectors and four hundred cylinders. There are four platter surfaces. The total capacity of the disc is 256MB. A cluster comprises of four blocks. The disc is rotating at a rate of 3600 rpm. The disc has an average seek time of 24 msec.

a) Determine the capacity of a cluster for this disc?
b) Determine the disc transfer rate in bytes per second?
c) Determine the average latency time and the average access time for this disc?

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M95881

Have any Question? 

Related Questions in Computer Engineering

Ethics sustainability and social responsibilityubs a

Ethics, Sustainability, and Social Responsibility UBS, a venerable Swiss banking institution with global business activities, experienced the significant implications that political factors can have on the bottom line. T ...

Info systems infrastructureresearch the speculations on

INFO SYSTEMS INFRASTRUCTURE Research the speculations on where the state-of-the-art will be in the near future for one of the following technologies. Your paper should include a description of the state-of-the-art in you ...

What is data independencewhat is replication what is

What is data independence? What is replication? What is synchronization? Describe three utility services that a DBMS should provide. What is a procedural language? What is a nonprocedural language?

Online flight booking system is a popular way for

Online flight booking system is a popular way for purchasing air tickets. It offers convenience of purchasing air tickets online as well as information on flights availability, prices comparison, seat selection and in-fl ...

You have just completed 10 weeks of an information security

You have just completed 10 weeks of an information security legal issues course. Imagine you have been asked to create a one-day training course highlighting the important elements of what you have just learned in the pa ...

Some operating systems have a tree-structured file system

Some operating systems have a tree-structured file system but limit the depth of the tree to some small number of levels. What effect does this limit have on users? How does this simplify file system design (if it does)?

Ip hosts that are not designated routers are required to

IP hosts that are not designated routers are required to drop packets misaddressed to them, even if they would otherwise be able to forward them correctly. In the absence of this requirement, what would happen if a packe ...

What are the four levels of transactions defined in ibms

What are the four levels of transactions defined in IBM's DRDA? Compare and contrast these four levels. Give examples to illustrate your answer.

The assembly-language instructions of fig 318 operate on

The assembly-language instructions of Fig. 3.18 operate on integers. Show that the operations AND, OR, and NOT can be realized on Boolean variables with these instructions. Show also that these operations on vectors can ...

Application law and information sharingyou likely have many

Application: Law and Information Sharing You likely have many friends. Although your long-time friends probably know you really well, people with whom you have formed recent friendships may know little about you. Over ti ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate