I
NTRODUCTION TO THE
ARM
®
P
ROCESSOR
U
SING
I
NTEL
FPGA T
OOLCHAIN
For Quartus Prime 16.1
.ascii
"
string
"
A string of ASCII characters is loaded into consecutive byte addresses in the memory. Multiple strings, separated
by commas, can be specified. The directive
.asciz
is the same, except that each string is terminated by a zero byte.
.byte
expressions
Expressions separated by commas are specified. Each expression is assembled into the next byte. Examples of
expressions are: 8, 5 + LABEL, and K
−
6.
.end
Marks the end of the source code file; everything after this directive is ignored by the assembler.
.equ
symbol, expression
Sets the value of
symbol
to
expression
.
.global
symbol
Makes
symbol
visible outside the assembled object file.
.hword
expressions
Expressions separated by commas are specified. Each expression is assembled into a 16-bit number.
.include
"
filename
"
Provides a mechanism for including supporting files in a source program.
.section
arguments
Allows a named section to be created in the assembly language file. This directive is used, for example, when
specifying exception vectors.
.skip
size
Emits the number of bytes specified in
size
; the value of each byte is zero.
.text
Identifies the code that should be placed in the text section of the memory. The desired memory location for the text
section can be specified in the Monitor Program’s system configuration window.
.word
expressions
Expressions separated by commas are specified. Each expression is assembled into a 32-bit number.
18
Intel Corporation - FPGA University Program
November 2016