Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
armmacros.s
Package: SMDK2440.rar [view]
Upload User: qiulin1960
Upload Date: 2013-10-16
Package Size: 2844k
Code Size: 2k
Category:
Windows CE
Development Platform:
Windows_Unix
- ;
- ; Copyright (c) Microsoft Corporation. All rights reserved.
- ;
- ;
- ; Use of this source code is subject to the terms of the Microsoft end-user
- ; license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
- ; If you did not accept the terms of the EULA, you are not authorized to use
- ; this source code. For a copy of the EULA, please see the LICENSE.RTF on your
- ; install media.
- ;
- ;/***********************************************************************
- ; Copyright (c) ARM Limited 1998. All rights reserved.
- ;
- ; NOTE: The CALL and CALLEQ macros shouldn't be used in OS startup code
- ; before the MMU is enabled since in the Thumbing case it relies
- ; on an absolute address which will be virtual in the case of the
- ; OS code and if the MMU isn't enabled, all branches should be
- ; relative (or a computed physical address).
- ;
- ;***********************************************************************/
- IF Thumbing
- MACRO
- CALL $Fn
- ldr r12, =$Fn
- mov lr, pc
- bx r12
- MEND
- MACRO
- CALLEQ $Fn
- ldreq r12, =$Fn
- moveq lr, pc
- bxeq r12
- MEND
- MACRO
- RETURN
- bx lr
- MEND
- MACRO
- RETURN_EQ
- bxeq lr
- MEND
- MACRO
- RETURN_NE
- bxne lr
- MEND
- ELSE
- MACRO
- CALL $Fn
- bl $Fn
- MEND
- MACRO
- CALLEQ $Fn
- bleq $Fn
- MEND
- MACRO
- RETURN
- mov pc, lr
- MEND
- MACRO
- RETURN_EQ
- moveq pc, lr
- MEND
- MACRO
- RETURN_NE
- movne pc, lr
- MEND
- ENDIF
- END