Q1: Consider the last 2 digits of your registration number as a hexadecimal number.
i) Write the code to multiply this number by 6 without using the MUL command.
ii) Write the code to divide this number by 2 without using the DIV command.
Write the code so that you can take input on the console and display each word in the next line. Run
this program and enter three subject/course names that you have studied this semester to test if it is
working properly or not.
Consider the last 2 digits of your registration number as a decimal. Write the code to check if it is even
or odd. Depending on the result, increment the original number once if it is even; decrement if the original
number is odd.
if any customer wants to use her internet
banking facility, he must have to enter two different 8-bit pin codes one by one. Computer gets these two 8 bits
numbers, converts them into binary and performs addition on both of these numbers. If the result matches with the
code that is stored for this account, internet banking facility will be provided otherwise, the system will not allow the
use of internet banking.
Assume that you are system engineer and the designated bank has assigned you a task that if any customer wants to use her internet banking facility, he must have to enter two different 8-bit pin codes one by one. Computer gets these two 8 bits numbers, converts them into binary and performs addition on both of these numbers. If the result matches with the code that is stored for this account, internet banking facility will be provided otherwise, the system will not allow the use of internet banking.
write an Assembly language based program for MIPS Architecture based MARS simulator to find the Factorial of 10
The recorded temperatures in London during a period of 15 days was 18 degrees Celsius, 25 degrees Celsius,34 degrees Celsius,22 degrees Celsius,2 degrees Celsius, 43 degrees Celsius,30 degrees Celsius,20 degrees Celsius,08 degrees Celsius, 28 degrees Celsius, 24 degrees Celsius, 27 degrees Celsius, 40 degrees Celsius,29 degrees Celsius and 03 degrees Celsius. Write a program using MIPS to calculate the average temperature of the country during the month of December.
Write a program using a 2-Dimensional Array and display the value 20.
write a program in assembly language using subtraction with shift operation to perform multiplication to get final answer 65
Generate x microsecond time base using timer interrupts. Value of x should be given using UART