Ax51 User's Guide

NOREGISTERBANK Assembler Directive

Abbreviation

NORB

Arguments

None.

Default

Memory space is reserved for register bank 0.

µVision

Options — A51 — Misc Controls.

Description

The NOREGISTERBANK directive prevents the assembler from reserving memory space for register banks.

This directive is useful when creating assembler modules that are included in general-purpose libraries (since library routines may be called from functions using any register bank). The program calling the library routines must reserve space for the register banks that are used.

See Also

REGISTERBANK

Example
A51 SAMPLE.ASM NOREGISTERBANK

$NORB