Why Inserting Several NOP Instructions Changes the Power Consumption of an MCU?

Why Inserting Several NOP Instructions Changes the Power Consumption of an MCU?

I recently tested the operating power consumption of an M0+ MCU. The test code used the simplest method, which is to run an empty loop while(1) in the main function. The measured current was 1.11mA, using the KEIL MDK IDE with optimization level 0. When I inserted 3 NOP instructions before the while(1), the measured … Read more

Identifying and Avoiding NOP Instructions in Disassembly

Identifying and Avoiding NOP Instructions in Disassembly

In the workplace, a significant amount of time and effort is spent analyzing NOP instructions, which has become a concern for reverse engineers and security responders. NOP instructions are a series of instructions that have no actual significance. Besides wasting time, I have found that some people are also shocked and excited by the NOP … Read more