# Linux Kernel Module Cheat

### 30.3. ARM load and store instructions

In ARM, there are only two instruction families that do memory access:

- ARM LDR instruction to load from memory to registers

- ARM STR instruction to store from registers to memory

Everything else works on register and immediates.

This is part of the RISC-y beauty of the ARM instruction set, unlike x86 in which several operations can read from memory, and helps to predict how to optimize for a given CPU pipeline.

This kind of architecture is called a Load/store architecture.

- ARM LDR instruction

- ARM STR instruction

- ARM LDMIA instruction