0% found this document useful (0 votes)
160 views1 page

Computer Organization & Architecture Assignment - I

This document contains 6 questions about computer organization and architecture: 1) It asks to show the accumulator value for various load accumulator instructions using given register and memory values. 2) It asks to show code to compute X=A+(B*C)+D using different instruction formats without modifying the given register values. 3) It asks a similar question to compute a more complex expression X=A*B*C+D*(E+F). 4) It asks to show the internal linear configuration of a 32x2 memory chip. 5) It asks to show the internal 2D configuration of a 32x2 memory chip. 6) It asks to describe a simple computer architecture.

Uploaded by

sarthak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
160 views1 page

Computer Organization & Architecture Assignment - I

This document contains 6 questions about computer organization and architecture: 1) It asks to show the accumulator value for various load accumulator instructions using given register and memory values. 2) It asks to show code to compute X=A+(B*C)+D using different instruction formats without modifying the given register values. 3) It asks a similar question to compute a more complex expression X=A*B*C+D*(E+F). 4) It asks to show the internal linear configuration of a 32x2 memory chip. 5) It asks to show the internal 2D configuration of a 32x2 memory chip. 6) It asks to describe a simple computer architecture.

Uploaded by

sarthak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

ASSIGNMENT-I KNREDDY

COMPUTER ORGANIZATION & ARCHITECTURE

ASSIGNMENT –I

1. Given R=10, PC=20, and index register X=30 show the value of the accumulator for the
following instructions. All memory locations Q contain the value Q+1. Each instruction
uses two memory locations.
a) LDAC 10
b) LDAC @10
c) LDAC R
d) LDAC (R)
e) LDAC #10
f) LDAC $10
g) LDAC 10(X)

2. Show the code to perform the computation X=A+ (B*C) +D using microprocessors that
uses the following instruction formats. Do not modify the values of A, B, C, D. If
necessary use temporary location T to store intermediate results
a) Three address instruction
b) Two address instruction
c) One address instruction
d) Zero address instruction

3. Show the code to perform the computation X=A*B*C+D*(E+F) using microprocessors


that uses the following instruction formats. Do not modify the values of A, B, C, D, E, F.
If necessary use temporary location T to store intermediate results
a) Three address instruction
b) Two address instruction
c) One address instruction
d) Zero address instruction

4. Show the internal linear configuration of a 32 X 2 memory chip

5. Show the internal two-dimensional configuration of a 32 X 2 memory chip

6. Describe a simple computer architecture

www.knreddycse.weebly.com

You might also like