Literals

A literal is constant data that is assembled as part of the compiled program. Literals must be made for large integers, all floats, and most strings.

There are three programs that make literals; each is called with a literal value and a label number:

A literal is accessed using a full address:


   sethi   %hi(.L5),%l0
   ldd     [%l0+%lo(.L5)],%f2   !  0.062500

Literals are saved in tables and output at the end of the program:


        .align  8
.L5:
        .type   .L5,#object
        .word   0x3fb00000,0x0  !  0.062500

Contents    Page-10    Prev    Next    Page+10    Index