You are on page 1of 3

hange E hange E

XC di XC di
F- t F- t
PD

PD
or

or
!

!
W

W
O

O
N

N
Y

Y
U

U
B

B
to

to
ww

ww
om

om
k

k
lic

lic
C

C
.c

.c
w

w
tr re tr re
.

.
ac ac
k e r- s o ft w a k e r- s o ft w a

B Tech – II : Computer Organization


Semester – IV 2022-23
Assignment 3
Date of Submission: 15st March ,2019

1. Show the contents of register E,A,Q and SC during the process of


multiplication of two binary numbers,1111(multiplicand) and
10101(multiplier).The signs are not included.
2. Specify the control word that must be applied to the processor of
given figure to implement the following microperations:

a. R1R2 + R3
b. R4 R4
c. R5R5-1
d. R6shl R1
e. R7input
3. Determine the microperations that will be executed in the processor
of question 2 when the following 14-bit control words are applied.
a. 00101001100101
b. 00000000000000
c. 01001001001100
d. 00000100000010
e. 11110001110000
4. Convert the following numerical arithmetic expression into reverse
polish notation and show the stack operations for evaluating the
numeric result.
(3 + 4)[10 ( 2 + 6) + 8]
hange E hange E
XC di XC di
F- t F- t
PD

PD
or

or
!

!
W

W
O

O
N

N
Y

Y
U

U
B

B
to

to
ww

ww
om

om
k

k
lic

lic
C

C
.c

.c
w

w
tr re tr re
.

.
ac ac
k e r- s o ft w a k e r- s o ft w a

5. Write a program to evaluate the arithmetic statement:

a. Using a general register organization with three address


instructions.
b. Using a general register organization with two address
instructions.
c. Using a accumulator type computer with one address instructions.
d. Using a stack organized computer with zero address operation
instructions.
6. The memory unit of a computer has 256K words of 32 bits each. The
computer has an instruction format with four fields: an operation
code field, a mode field to specify one of seven addressing modes, a
register address field to specify one of 60 processor registers, and a
memory address. Specify the instruction format and the number of
bits in each field if the instruction is in one memory word.
7. An instruction is stored at location 300 with its address field at
location 301.The address field has the value 400.A processor register
R1 contains the number 200.Evaluate the effective address if the
addressing mode of the instruction is
a. Direct
b. Immediate
c. Relative
d. Register indirect
e. Index with R1 as the index register.
8. Given the 16-bit value 1001101011001101.What operation must be
performed in order to:
a. Clear to 0 the first eight bits?
b. Set to 1 the last eight bits?
c. Complement the middle eight bits?
9. Consider the two 8-bit numbers A=01000001 and B=10000100.
a. Give the decimal equivalent of each number assuming that 1)
they are unsigned and 2) they are signed.
hange E hange E
XC di XC di
F- t F- t
PD

PD
or

or
!

!
W

W
O

O
N

N
Y

Y
U

U
B

B
to

to
ww

ww
om

om
k

k
lic

lic
C

C
.c

.c
w

w
tr re tr re
.

.
ac ac
k e r- s o ft w a k e r- s o ft w a

b. Add the two binary numbers and interpret the sum assuming
that the numbers are 1)unsigned and 2)signed
c. Determine the values of C, Z, S and V status bits after the
addition.
10. What are the basic differences between a branch instruction, a call
subroutine instruction and program interrupt?

You might also like