Convert the following ARM assembly code into machine languag

Convert the following ARM assembly code into machine language. Write the instructions in hexadecimal:

1) MOV R10, #63488

2) LSL R9, R7, #7

3) STR R4, [R11,R8]

4) ASR R6, R7, R3

Solution

The tool to convert the ARM that is assembly language programming to hexadecimal is called an assembler not an ARM to hex convertor.

Instruction Hexadecimal

   MOV R10, #63488 3EABA0E3

   LSL R9, R7, #7 8793A0E1

   STR R4, [R11, R8] 08408BE7

   ASR R6, R7, R3 5763A0E1

Convert the following ARM assembly code into machine language. Write the instructions in hexadecimal: 1) MOV R10, #63488 2) LSL R9, R7, #7 3) STR R4, [R11,R8] 4

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site