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

.vbyte Pseudo-op

Purpose

Assembles the value represented by an expression into consecutive bytes.

Syntax

.vbyte Number,Expression

Description

The .vbyte pseudo-op assembles the value represented by the Expression parameter into a specified number of consecutive bytes.

Parameters

Number Specifies a number of consecutive bytes. The Number value must range between 1 and 4.
Expression Specifies a value that is assembled into consecutive bytes. The Expression parameter cannot contain externally defined symbols. If the Expression value is longer than the specified number of bytes, it will be truncated on the left.

Examples

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

.csect data[RW]
mine:   .vbyte 3,0x37CCFF
# This pseudo-op also accepts character constants.
.vbyte 1,'c
# Load GPR 4 with address of .csect data[RW].
.csect text[PR]
l 3,mine(4)
# GPR 3 now holds 0x37CCFF.

Related Information

Pseudo-ops Overview.

The .byte pseudo-op.


[ Previous | Next | Contents | Home | Search ]