Skip to content

Assembler Directives

Keyhan Vakil edited this page Aug 19, 2017 · 2 revisions

The following assembler directives are supported:

Directive Effect
.data Store subsequent items in the [[static segment
.text Store subsequent instructions in the [[text segment
.byte Store listed values as 8-bit bytes.
.asciiz Store subsequent string in the data segment and add null-terminator.
.word Store listed values as unaligned 32-bit words.
.globl Makes the given label global.
.float Reserved.
.double Reserved.
.align Reserved.
Clone this wiki locally