Advanced RISC Machines (ARM): mnemonics for mov and integer ALU instructions

Introduction

Introduction

mov r0, #0x153

makes register 0 hold 0x153

using # indicates an immediate value. value is created by CPU

mov r1, r0 copies r0 to r1

add r2, r0, r1 places addition of r0 and r1 in r2 instead of eg add r0,r0,r1 can write add r0,r1

as well as add can do sub mul and (bitwise) orr (bitwise) eor (exclusive or) lsl (logical left shift) lsr (logical right shift)