![Pretty new to ASM, why does NOP take 4 cycles? What about other instructions? : r/ReverseEngineering Pretty new to ASM, why does NOP take 4 cycles? What about other instructions? : r/ReverseEngineering](https://external-preview.redd.it/z0yJPpm66L5yoKeWKtfiWNmJ9eGn9aWRxCkDUnGlmq8.png?auto=webp&s=56596e281e9a1c839f5569f4b9709c1cc7a14754)
Pretty new to ASM, why does NOP take 4 cycles? What about other instructions? : r/ReverseEngineering
![Why is there no nop in the assembly code when the compiler uses -O2? · Issue #145 · riscv-collab/riscv-gcc · GitHub Why is there no nop in the assembly code when the compiler uses -O2? · Issue #145 · riscv-collab/riscv-gcc · GitHub](https://user-images.githubusercontent.com/26959371/50904688-efd7fd80-145b-11e9-905d-20ee4eb7b6c9.png)
Why is there no nop in the assembly code when the compiler uses -O2? · Issue #145 · riscv-collab/riscv-gcc · GitHub
![disassembly - Why ther are some many padding/leading nop instructions in my binary code? - Reverse Engineering Stack Exchange disassembly - Why ther are some many padding/leading nop instructions in my binary code? - Reverse Engineering Stack Exchange](https://i.stack.imgur.com/nNKht.png)
disassembly - Why ther are some many padding/leading nop instructions in my binary code? - Reverse Engineering Stack Exchange
![CCS/AM5716: how to measure cpu cycles for Cortex-M4 - Code Composer Studio forum - Code Composer Studio™︎ - TI E2E support forums CCS/AM5716: how to measure cpu cycles for Cortex-M4 - Code Composer Studio forum - Code Composer Studio™︎ - TI E2E support forums](https://e2e.ti.com/resized-image/__size/1230x0/__key/communityserver-discussions-components-files/81/sctm2.png)