[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Assembler Language Reference

.string Pseudo-op

Purpose

Assembles character values into consecutive bytes and terminates the string with a null character.

Syntax

.string StringConstant

Description

The .string pseudo-op assembles the character values represented by StringConstant into consecutive bytes and terminates the string with a null character.

Parameters

StringConstant Represents a string of character values assembled into consecutive bytes.

Examples

The following example illustrates the use of the .string pseudo-op:

mine:   .string "Hello, world!"
# This produces
# 0x48656C6C6F2C20776F726C642100.

Related Information

Pseudo-ops Overview.

The .byte pseudo-op, .vbyte pseudo-op.


[ Previous | Next | Contents | Home | Search ]