關注、星標公眾號,直達精彩內容

來源:技術讓夢想更偉大
整理:李肖遙
使用Arm Compiler 6要求


// Simple GNU syntax example
// Iterate round a loop 10 times, adding 1 to a register each time.
.section .text,"x"
.balign 4
main: //
MOV w5,#0x64 // W5 = 100
MOV w4,#0 // W4 = 0
B test_loop // branch to test_loop
loop:
ADD w5,w5,#1 // Add 1 to W5
ADD w4,w4,#1 // Add 1 to W4
test_loop:
CMP w4,#0xa // if W4 < 10, branch back to loop
BLT loop
.end //
AC6對整個程序進行分析將沒有使用到的模塊移除,而以前AC5只能在模塊中檢測。

來源:https://blog.csdn.net/twx11213030422/article
???????????????? END ???????????????? 關注我的微信公眾號,回復“加群”按規則加入技術交流群。
歡迎關注我的視頻號:

點擊“閱讀原文”查看更多分享,歡迎點分享、收藏、點贊、在看。