Compute the total capacity of the ram chips in bits

Assignment Help Computer Engineering
Reference no: EM13910202

Question 1:

A digital system uses 8-bit for integer representation and 16-bit for floating point number representation. Analyse the various number representations and answer the following questions.

(a) Given A = 2A16 and B = 6E16.

(i) If 8-bit sign-magnitude representation is used to represent integers, what is the range of decimal values it can represent?

(ii) Express the value of A and the value of B in 8-bit binary if sign-magnitude representation is used for integers.

(iii) Show how the digital system computes the logic operation A XOR (A OR B). Express the result in hexadecimal.

(b) Given X = 5510 and Y = -6610.

(i) Express the value of X and the value of Y in 8-bit binary if sign-magnitude representation is used for integers.

(ii) Express the value of X and the value of Y in 8-bit binary if 2's complement signed integer representation is used.

(iii) Find the result of X + Y by performing the computation in 2's complement arithmetic. Convert the result to decimal and show it is equal to -11.

(c) The hexadecimal number A0FF represents a 16-bit floating point number. Its representation is given in Figure Q1(c). What is the decimal value? Show your working.

1727_What is the range of decimal values it can represent.png

Question 2:

(a) A hypothetical computer system has a 16-bit address bus and can address an 8-bit wide memory. The memory of this computer system contains two 4 Kbytes ROM chips (ROM1 and ROM2) and two 8 Kbytes RAM chips (RAM1 and RAM2). ROM1, ROM2, RAM1 and RAM2 form a contiguous block of memory starting at address 0. R0M1 occupies the lowest address range. The rest of the address range after RAM2 is not used.

(i) Summarise the address space by drawing a memory map of the computer system. Indicate the starting and ending addresses in hexadecimal for each ROM and RAM chips and any unused space. Show how the memory addresses are obtained.

(ii) Compute the total capacity of the RAM chips in bits. Express your answer in power of 2.

(b) Describe the characteristics and operations of a multiplexed bus interconnection in a computer system.

Question 3:

Figure Q3 shows the characteristics of a hypothetical machine, relevant portions of memory, processor registers and some I/O devices. For the instruction format shown in Figure Q3(i), if it is an I/O instruction, bits 4 to15 identifies a particular I/O device, else a memory address.

2414_What is the range of decimal values it can represent1.png

Program counter (PC) = Address of instruction
Accumulator (AC) = Temporary storage
Instruction register (IR) = Instruction being executed
(iii) Internal CPU registers

0010 = Store AC to memory
0011 = Load AC from I/O
0101 = Add to AC from memory
(iv) Partial list of opcodes


Memory
CPU registers
400 3005
400 PC
401 5750

AC
402 2751

IR





750 6
I/O Devices
751

4 Dev 5
(All numbers are in hexadecimal)

Figure Q3

(v) Contents of memory, registers and I/O devices at start of program

(a) How many memory locations can this processor address?

(b) This hypothetical machine is to execute the following program:

1. Load AC from device 5.
2. Add contents of memory location 750.
3. Store AC to memory location 751.

There are three fetch and three execute cycles. The process can be divided into six steps or cycles. For each step or cycle, demonstrate what happens and list the contents of the following registers:

(i) PC at the start of each cycle,
(ii) AC at the end of each cycle and
(iii) IR at the end of each cycle.

Assume the initial values are as given in Figure Q3(v).

Question 4:

(a) (i) Given X = 5. Express -X in 8-bit 2's complement representation. 

(ii) Explain the steps or procedures taken to obtain the 2's complement representation. 

(b) Figure Q4(b) is a subroutine for the course's simulated processor. Assume all numbers are in hexadecimal.

SUBR

MOVE

#$300, A0

 

MOVE

#$330, A1

 

MOVE.B

#$08, D0

LOOP

MOVE.B

(A0)+, D1

 

NOT

D1

 

ADD

#$01, D1

 

MOVE.B

D1, (A1)+

 

SUB.B

#$01, D0

 

BNE

LOOP

 

RTS

 

Figure Q4(b)

Use the T121 Processor Instruction Set of the EASY68K simulator to answer the following questions.

(i) The subroutine includes a loop. Which register is being used as a loop counter and how many times in total will the set of instructions within the loop be executed? 

(ii) From which instruction(s) do you deduce the answers for Question 4(b)(i)? 

(iii) The loop picks up successive data items from a block of locations in data memory. What are the lowest and highest addresses (in Hex) of the locations in this block? 

(iv) What is the function of the block of instructions that make up the loop in the subroutine? Do not give a description on an instruction-by instruction level; give the overall task of the loop. 

(v) Write a complete program to call the subroutine and test its functionality. The main program is to start at address 2000 (Hex) and the subroutine occupies memory space just below the main program.

Initialise and use test data: 1, 2, 3, ... up to the loop counter deduced in Question 4(b)(i). Assume the contents of all data registers are set to zero before the start of the program.
(Reminder: All numbers including the test data are in hexadecimal.)

Test your program with the course's simulator. Once it is working correctly, copy and pastes your program to your MS WORD answer document.
(9 marks)

(vi) Submit a screen shot of the memory contents that include addresses from 2E0 to 350 when the program stops. Use the instructions given below to obtain the screen shot.

Instructions:
1. To view the memory contents at the simulator screen, click on the View menu and select Memory. Click on the Page down button to the required addresses. Verify that the memory contents are indeed correct.

2. To capture the ‘screen shot' select the window, press <Alt> + <Print Screen> on your computer keyboard, and then paste it onto your word document.

Reference no: EM13910202

Questions Cloud

Nitrate reacts with sodium iodide : When Lead (2) Nitrate reacts with sodium iodide, sodium nitrate and lead (2) iodide are formed. if i start with 25.2 grams of lead (2) nitrate and 15.0 grams of sodium iodide, how many grams of sodium nitrate can be formed?
Compute the debt-to-equity ratios for amazon.com : Review the data below and decide give your recommendations as to whether or not you consider these ratios to be too small or too large. Should Amazon increase its debt or take steps to pay off its debt?
What is the common ratio in this sequence : The second term in a geometric sequence is 12. The fourth term in the same sequence is 4/3. What is the common ratio in this sequence?
World war ii where america has taken on a policing role : World War II where America has taken on a policing role
Compute the total capacity of the ram chips in bits : Summarise the address space by drawing a memory map of the computer system. Indicate the starting and ending addresses in hexadecimal for each ROM and RAM chips and any unused space. Show how the memory addresses are obtained - Compute the total c..
State the null and alternative hypotheses : A recent study conducted by the government attempts to determine proportion of people who support further increase in cigarette taxes. State the null and alternative hypotheses and compute the p-value
What is meant by the term abnormal rate of return : Describe the results of a study that did not support the semi strong-form EMH. Discuss the nature of the test and specifically why the results did not support the hypothesis.
What is the value of the fourth term in a geometric sequence : What is the value of the fourth term in a geometric sequence for which a^1 = 15 and r = 1/3
What is the net present value of refunding : Financial Accounting STandards Board (FASB) Statement #13 requires that for an unqualified audit report, financial (or capital) leases must be included in the balance sheet by reporting.

Reviews

Write a Review

Computer Engineering Questions & Answers

  The problemyou have been given the job of choosing an

the problemyou have been given the job of choosing an admission policy for an atm multiplexer which has been

  What is a multi dimensional arrays

Why are there so iterative structures and what is the purpose of each. Think about looping and why different ones exist and why you can't have just one.

  What do mean by functional dependency

Why is this table NOT in First Normal Form (1NF) normalization? What can you do to put it in 1NF.

  What technologies are used in windows server 2008

What technologies are used in windows server 2008

  Define the process necessary to properly install

This solution gives students the resources and tips necessary to properly specify the process to replace a computer's power supply.

  Design two concrete classes circle and square that inherits

design an abstract class called shape. this class must contain a single constructor that accepts a single numeric value

  How various bits fit in the cable

A 100-km-long cable runs at the T1 data rate. The propagation speed in the cable is 2/3 the speed of light in vacuum. How various bits fit in the cable.

  List and briefly explain the five-component model of an

list and briefly explain the five-component model of an information system. how can you use them?your response should

  Basic strategic planning questions

What the basic strategic planning questions must be addressed for the infrastructure? Suppose that x and y are “int” variables and “ch” is a char variable.

  Questionproduce a work breakdown structure wbs and give

questionproduce a work breakdown structure wbs and give resources and cost by using a project management tool. as it

  What is the best way for sending people out

What is the best way for sending people out if one wants the total competition to be over as early as possible? More precisely give an efficient algorithm that produces a schedule whose completion time is as small as possible.

  Questionget the cylinder class from the base circle class

questionget the cylinder class from the base circle class. suppose the circle class has a protected member variable

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd