C310-assign3-ans

# C310-assign3-ans - Name:_MASTER_ CMIS 310 Spring 2011...

This preview shows pages 1–3. Sign up to view the full content.

Name:_ MASTER _____________________ CMIS 310 – Spring 2011 ONLINE ASSIGNMENT #3 – Module 3 This assignment consists of twelve questions worth a total of 110 points. 1. (8 points) Consider a RAM chip of 16,384 (16K) words x 8 bits that has Read and Write inputs. a. How many address lines are needed to access the chip? 16K = 2 4 x 2 10 = 2 14 ; 14 address lines are needed b. How many data lines are needed to access the chip? 8 address lines, one for each bit of the word c. Draw a block diagram and label all input and output pins that are required for the RAM integrated circuit. Identify these pins as being input, output, or input/output. 14 Address Lines (input) 8 Data Lines(input/output)  RAM 16K x 8 Read(input) Write (input) Select (input) 2. (2 points) Draw the block diagram for the hardware that implements the following: x + yz: AR AR + BR where AR and BR are two n-bit registers and x, y, and z are control variables. Include the logic gates for the control function and a block labeled ‘adder’ for the addition function. (Remember that that the symbol + designates an OR operation in the control function, but an arithmetic plus in a microoperation.) 3. (8 points) Perform the computations below given the two 8-bit binary words: A = 1010 0101 B = 1111 0000 Compute Answer (A v B)’ (A NOR B) 0000 1010 A ^ B 1010 0000 1

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
(A AND B) 4. (12 points) The content of AC in the basic computer is hexadecimal 16AB and the initial value of E is 0. Determine the contents of AC, E, PC, AR, and IR in hexadecimal in each of the register –reference instructions from CLA to HLT. The initial value of PC is hexadecimal 047. E AC PC AR IR Initial 0 16AB 047 - - CLA 0 0 048 800 7800 CLE 0 16AB 048 400 7400 CMA 0 E954 048 200 7200 CME 1 16AB 048  100 7100 CIR 1 0B55 048 080 7080 CIL 0 2D56 048 040 7040 INC 0 16AC 048 020 7020 SPA 0 16AB 049 010 7010 SNA 0 16AB 048 008 7008 SZA 0 16AB 048 004 7004 SZE 0 16AB 049 002 7002 HLT 0 16AB 048 001 7001 Notes: Complement of 16AB (or 0001 0110 1010 1011) is E954 (1110 1001 0101
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 04/23/2011 for the course CMIS 310 taught by Professor Daumit during the Spring '11 term at Cornell.

### Page1 / 8

C310-assign3-ans - Name:_MASTER_ CMIS 310 Spring 2011...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online