You are on page 1of 1

INEL 6009: Homework 4

Coding and Decoding ARM Instructions



Tasks:

Task 1: Write the corresponding ARM assembly representation for the following
instructions:

11101001_000111000001000000010000

11100100_110100111000000000011001

10010010_111110100100000011111101

11100001_000000010010000011111010

00010001_101011101011011111001100


Task 2: Write the instruction code for the following instructions:

STMFA R13!, {R1, R3, R5-R11}

LDR R11, [R3, R5, LSL #2]

MOVMI R6, #1536

LDR R1, [R0, #4]!

EORS R3, R5, R10, RRX

Submission:

On the spread sheet provided enter your answers on the A column. For the first task
make sure that there is one, and only one, space between de parts of the assembly
representation that must be separated by a space. For the second task your answer
must be a binary number with an underscore every 8 bits (for example
10001111_10101111_11011101_00000000).

Rubrics:

For each case of the two tasks:
2 point will be awarded if the result is correct
1 point will be awarded if the result is partially correct

You might also like