Questions: 338

Answers by our Experts: 279

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

(a) The contents of the URM register can be altered by certain instructions that it can recognize. Describe one application of each of instruction. [16 marks] (b) The basic computable functions of the URM includes [9 marks] (i) 𝑥 + 1 (ii) 0 0 0,   x x    (iii)  1 2 , ,...,  n i n i   x x x x Describe briefly, the meaning of each computable function


Implement the following C++ expression in assembly language, using 32-bit unsigned operands:

ask the user to enter val2, val1, val3 by calling Readint

If (val2 ==0) then

{val2 = 1}

val1 = (val3 / val2) * (val1 + val3)


Val1 = 600

Val2 = 0

Val3 = 1000

 


Write an assembly language program that moves the number 2 to BL and 0 to AL. Add BL to AL ECX many times having AL as the destination. Move 10 into ECX before the loop. What will the value of AL when the loop is done?


Write an assembly language program that declares three integer variables called number1 initialized to 9, number2 initialized to 15 and number3 initialized to 23. The assembly language code must add the three numbers and move the result into ebx. The program also must find the difference between number2 and number3 (i.e. 15 – 23). The difference must be placed in edx.


7. What is the binary representation of the following hexadecimal numbers?

a. A4693FBC

b. B697C7A1

c. 2B3D9461


6. What is the hexadecimal representation of each of the following binary numbers?

a. 0011 0101 1101 1010

b. 1100 1110 1010 0011

c. 1111 1110 1101 1011


5. What is the minimum number of binary bits needed to represent each of the following

unsigned decimal integers?

a. 65

b. 409

c. 16385


4. How many bytes are contained in each of the following data types?

a. word

b. doubleword

c. quadword.

d. double quadword


How to definition data in MIPS?


List the MIPS registers and their purpose.


LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS