Question: Q. No. 1 write an assembly program that has two functions, in first function shows the number in reverse order (number should be your arid
Q. No. 1 write an assembly program that has two functions, in first function shows the number in reverse order (number should be your arid number 5217 ) and in second function, evaluate any expression (e.g 1+2*2) using stack
Q. No. 2 (a) How bitwise logical operators are used in bit masking?
Q. No. 2 (b) write a program that perform multiple functions in a single segment.
Print 8 bit number with 4 LSB zero
Print 8 bit number with 4 MSB one
Print 8 bit number in revers ( i.e 0 to 1, 1 to 0)
Q. No. 3 Write a program that prints any shape (e.g square, circle, rectangle etc.) with black back ground and blinking property. Show the character formation of the given pattern.
Q. No. 4 Write an assembly program to find the geometric series of first 7 numbers and then show the sum of all the numbers by using sub routine. Run the program and attach screenshot.
Q. No. 5 Write a program to multiply two numbers without using MUL function (both numbers should be odd). Also make dry run and attach screenshot of output in AFD.
Q. No. 6 Write a program to find out maximum and minimum number from your arid number(5217) in a single program. Attach screenshot of the output.
all in computer organization and assembly language (coal)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
