KEIL MDK编译警告:

 

warning: A1581W: Added 2 bytes of padding at address xxx

Keil: warning: A1581W: Added 2 bytes of padding at address-LMLPHP

原因:

在Keil 里写汇编代码时如果代码尺寸不对齐,编译器自动补补警告。

 

处理办法:

 

加NOP指令,或修改对齐方式

 

 Keil: warning: A1581W: Added 2 bytes of padding at address-LMLPHP

05-11 11:04