# Linux Kernel Module Cheat

#### 30.5.1. ARM NOP instruction

Parent section: Section 28.10, “NOP instructions”

There are a few different ways to encode NOP, notably MOV a register into itself, and a dedicated miscellaneous instruction.

Example: userland/arch/arm/nop.S

Try disassembling the executable to see what the assembler is emitting:

    gdb-multiarch -batch -ex 'arch arm' -ex "file v7/nop.out" -ex "disassemble/rs asm_main_after_prologue"

Bibliography: https://stackoverflow.com/questions/1875491/nop-for-iphone-binaries