Can anyone explain the answer a and b ? please need a detailed explanation 3) Co
ID: 3349673 • Letter: C
Question
Can anyone explain the answer a and b ? please need a detailed explanation
3) Consider the assembly code which the compiler generates for a C function. Explain what the specified assembly instructions do and describe what data is in the register ;;:20 00002e find in list PROc int find,?n_list(int key) { rl,ro 4601 2 unsigned int i; if Cist[i) key) :23 000030 4a0b 000032 2000 LDR r2, IL1.96 L1.521 LSLS r3.ro.#2 LOR r3,[r2,r3] 000034 0083 000036 58d3 000038 428b 00003a d004 00003c 1c40 00003e 280a 000040 d3f8 r3,rl L1.70 ro,ro,#1 BEQ 2 BCCL1.52 :24 25 return i; return -1; 000042 2000 000044 43c0 ro,#0 ro,ro L1.70 27 000046 4770 28 ENDP Explain:Explanation / Answer
2.LDR(load register):-