Professional Documents
Culture Documents
Thapar University Department of Electronics and Communication Engineering, Tutorial Sheet No 4, Embedded Systems Architecture (UEC-402)
Thapar University Department of Electronics and Communication Engineering, Tutorial Sheet No 4, Embedded Systems Architecture (UEC-402)
In part a) Justify that r1 can be used under Floating Instruction. Is it possible to use r0
instead of r1?
7. Write a program to add two 32 bit numbers placed consecutively in the memory , check if
the result is greater than or equal to 32H , if yes then halt the program else subtract the
two numbers to get a result in register R5.