Convert the following branch instructions into ARM machine code. Instruction addresses are given to the left of each instruction.

Convert the following branch instructions into ARM machine code. Instruction addresses are given to the left of each instruction.

a. 0x0000A000 BEQ LOOP 0x0000A004 . 0x0000A008 . 0x0000A00C LOOP .
b. 0x00801000 BGE DONE . 0x00802040 DONE .
c. 0x00103000 BL FUNC . . 0x0011147C FUNC . 2
d. 0x00008004 L1 . . . 0x0000F00C B L1

Leave a Reply

Your email address will not be published.