You are on page 1of 1

DA 1

Computer architecture and organization


Q.1 Write an appropriate assembly language code for the following operation and interpret to Von
Neumann IAS architecture
c=a*b
Wherea→40bitdata and b→40 bit data
Result would be more than40bit
Q.2 Write an Assembly language programming for the following expression using IAS computer
Instruction set and interpret to the flow of IAS computer
1. A=(B-C)*D
2. A=B*(C+D)
3. A=(B-C)/D
4. A=B/(C+D)
5. A=-(B+C-D)
6. A=(B*2)/2
Make necessary assumptions.
Q.3Write an assembly language programming for the following code fragment and Interpret to IAS
computer flow of operations.
if(x=0)
c=a*b;
else
c=a/b;
Q.4 Write down a signed decimal number with a value of -25 in 8-bit fixed point presentation in each
of the four 8-bit modes for the presentation of signed numbers. Do the same also with the number 33.
Write resulting presentations as binary and hexadecimal numbers. Consider, how to perform addition
of these numbers in binary form for each presented mode.
Q.5 Multiply the following using serial multiplier algorithm
15 x 20
55 x 60
using 8 bit multiplier
Q.6 Multiply the following using Booth’s algorithm
7 x -3
-11 x -13
Q.7Devide the following using 2s complement method.
11 / 13
-11 / 13
Q.8 Represent the following numbers into various IEEE754 formats
12312.132131
3483.343
23232.32492

You might also like