Professional Documents
Culture Documents
1. Suppose, we want to do 8-bit and 16-bit division. For these, which registers will store the remainder
and quotient for 8 and 16 bit respectively? [1.5]
Write an assembly code to find the sum of all elements of the following series. After finding the sum,
check whether the result is odd or even if off then print “The result is Odd” if even then “The result is
even
[10]
1+5+9+13+17+21
3. Write an assembly code to print the following pattern. After creating the star pattern, print a line
with your name and ID
[10]