Download ARM Software Development Toolkit User Guide
Transcript
Basic Assembly Language Programming
Constants
Numbers
Numeric constants are accepted in three forms:
•
Decimal. For example, 123.
•
Hexadecimal. For example, 0x7b.
•
n_xxx where:
— n is a base between 2 and 9
— xxx is a number in that base.
Strings
Strings consist of opening and closing double quotes, enclosing
characters and spaces. If double quotes or dollar signs are used within a
string as literal text characters, they must be represented by a pair of the
appropriate character. For example, you must use $$ if you require a
single $ in the string. The standard C escape sequences can be used within
string constants.
Boolean
The Boolean constants TRUE and FALSE must be written as {TRUE} and
{FALSE}.
Characters Character constants consist of opening and closing single quotes,
enclosing either a single character or an escaped character, using the
standard C escape characters.
5-12
Copyright © 1997, 1998 ARM Limited. All rights reserved.
ARM DUI 0040D
Related documents
version 2.2
ARM VERSION 1.2 Computer Hardware User Manual
ARM Instruction Set
ARM Laboratory Exercises For the ARM Evaluator
NEX-SA1100/SA1110 Manual
ARM VERSION 1.2 User guide
PDF version - ARM Information Center
Implementation of a Linux Workstation Based on The LEON Processor
manual - Roy`s Web Home
CL-PS7111 Evaluation Kit User Manual v1.0, April 1997 (Application
ARM VERSION 1.2 Datasheet
PDF version - ARM Information Center