Question

I have this code:

STRB            R2, [R0,R1]

and its opcode is 42 54

I'm using this table http://imrannazar.com/ARM-Opcode-Map

but I so 54 is the opcode of my strb istructions.

What I want is STRB R2, 1

I need to assign to R2 register the decimal value 1.

I can't understand wich opcode for STRB I need to use to do what I want.

help me please

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top