Directives
Last updated
Was this helpful?
Last updated
Was this helpful?
Jupiter supports most common assembler directives, including some indicated .
Emits filename.
filename
: quoted filename
none
Reserves the specified number of bytes.
value
: (should be > 0)
.space
Stores the string and adds null terminator.
string
: quoted string
.asciiz
, .asciz
Stores the string and does not add null terminator.
string
: quoted string
none
Store the listed value(s) as 8 bit bytes.
list
: 8-bit comma separated bytes
none
Store the listed value(s) as 16-bit half words.
list
: 16-bit comma separated half words
.short
, .2byte
Store the listed value(s)/symbol(s) as 32 bit words.
list
: 32-bit comma separated words or comma separated symbols
.long
, .4byte
Store the listed value(s) as 32 bit float values.
list
: 32-bit comma separated float words
none
Align next data item to a power of 2 byte boundary.
alignval
: integer, should be >= 0
.palign
Align next data item to a byte boundary.
alignval
: integer, should be > 0
none
Store the symbol in the global symbol table.
symbol
: symbol to store in global symbol table
.global
Emits the specified section and makes it the current section.
section
: {.text
, .data
, .rodata
, .bss
}
none
Emits data section and makes it the current section.
none
none
Emits text section and makes it the current section.
none
none
Emits read-only data section and makes it the current section.
none
none
Emits bss section and makes it the current section.
none
none