ASSERT :DEF:ENDIAN_CHANGE

Publisher:limm20032003Latest update time:2016-01-08 Source: eefocusKeywords:ASSERT  DEF:ENDIAN  CHANGE Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
ASSERT :DEF:ENDIAN_CHANGE 
[ ENDIAN_CHANGE 
ASSERT :DEF:ENTRY_BUS_WIDTH 
[ ENTRY_BUS_WIDTH=32 
b ChangeBigEndian ;DCD 0xea000007 
 
[ ENTRY_BUS_WIDTH=16 
andeq r14,r7,r0,lsl #20 ;DCD 0x0007ea00 
 
[ ENTRY_BUS_WIDTH=8 
streq r0,[r0,-r10,ror #1] ;DCD 0x070000ea 
]
 
b ResetHandler 
 
1、ASSERT :DEF:ENDIAN_CHANGE 
 
ASSERT is an assertion pseudo-instruction, the syntax is: ASSERT + logical expression 
 
def is a logical pseudo-operator with the format: :DEF:label. Its function is to determine whether label has been defined. 
 
2. The four blue instructions can only execute one, and if the first three instructions are executed, the last instruction of the post-processing program is also 
 
b ResetHandler 
 
3. "[" is equivalent to if 
 
" | " is equivalent to else 
 
" ] " is equivalent to endif
Keywords:ASSERT  DEF:ENDIAN  CHANGE Reference address:ASSERT :DEF:ENDIAN_CHANGE

Previous article:Analysis of ARM startup file 2440init.s
Next article:Detailed explanation of the usage of ARM assembly pseudo-instruction macros

Recommended Content
Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号