{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# HW10 - Ryan Zanski ECE 2504 In t roduction to Computer...

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

Ryan Zanski ECE 2504 Introduction to Computer Engineering, Summer I 2010 Homework 10 Due date: Wed, 23 Jun 10, noon 1. (4 pts) A computer has a memory unit with 24 bits per word. Each instruction is stored in a single word of memory. The instruction set contains 150 different instructions. Each contains an op code and a single operand. a) (1 pt) How many bits are required for the op code? 8 bits (256 different choices) b) (1 pt) How many bits remain for the operand? 16 (24-8) c) (1 pt) What is the maximum allowable memory size? 150 X 24 d) (1 pt) What is the largest positive 2’s complement number that can be stored in a single word of memory? 32,767 (2^n-1 - 1 = 2^15 - 1) 2. (4 pts) A computer’s memory is 256K x 32. Each instruction is stored in a single word of memory. The instruction format contains 4 fields: an opcode field, a mode field to specify 1 of 7 different addressing modes; a register operand field to specify 1 of 60 different registers; and a memory operand field. a)

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 3

HW10 - Ryan Zanski ECE 2504 In t roduction to Computer...

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

View Full Document
Ask a homework question - tutors are online