Question: b) Consider the following ARM assembly code. State how many passes will be required by the assembler to translate it into the machine code. Explain
b) Consider the following ARM assembly code. State how many passes will be required by the assembler to translate it into the machine code. Explain briefly the steps performed in each pass. LDR R1, a LDR R2, b ADD R1, R1, R1 CMP R1, R2 BLT result SUB R1, R1, R1 result STR RO, C SVC 2 a DEFW 123 b DEFW 456 C DEFWO
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
