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

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

View Full Document Right Arrow Icon
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)
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

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 Right Arrow Icon
Ask a homework question - tutors are online