Chapter 31.
MSP 430 Dependent Features
31.1. Options
as
has only  m flag which selects the mpu arch. Currently has no effect.
31.2. Syntax
31.2.1. Macros
The macro syntax used on the MSP 430 is like that described in the MSP 430 Family Assembler
Specification. Normal
as
macros should still work.
Additional built in macros are:
llo(exp)
Extracts least significant word from 32 bit expression 'exp'.
lhi(exp)
Extracts most significant word from 32 bit expression 'exp'.
hlo(exp)
Extracts 3rd word from 64 bit expression 'exp'.
hhi(exp)
Extracts 4rd word from 64 bit expression 'exp'.
They normally being used as an immediate source operand.
mov #llo(1), r10 ; == mov #1, r10
mov #lhi(1), r10 ; == mov #0, r10
31.2.2. Special Characters
;
is the line comment character.
The character
$
in jump instructions indicates current location and implemented only for TI syntax
compatibility.
31.2.3. Register Names
General purpose registers are represented by predefined symbols of the form
rN
(for global registers),
where
N
represents a number between
0
and
15
. The leading letters may be in either upper or lower
case; for example,
r13
and
R7
are both valid register names.






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

canadian web hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Inexpensive Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Jsp Hosting Cheap Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved