[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Assembler Language Reference

.space Pseudo-op

Purpose

Skips a specified number of bytes in the output file and fills them with binary zeros.

Syntax

.space Number

Description

The .space skips a number of bytes, specified by Number, in the output file and fills them with binary zeros. The .space pseudo-op may be used to reserve a chunk of storage in a control section (csect).

Parameters

Number Represents an absolute expression that specifies the number of bytes to skip.

Examples

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

.csect data[rw]
.space 444
  .
  .
foo:    # foo currently located at offset 0x1BC within
        # csect data[rw].

Related Information

Pseudo-ops Overview.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]