User`s manual
OF - Offset Registers Display/Modify
3-165
3
OF - Offset Registers Display/Modify
Command Input
OF [Zn[;A] ]
Description
The OF command allows you to access and change pseudo-
registers called offset registers. These registers are used to simplify
the debugging of relocatable and position-independent modules.
There are eight offset registers Z0-Z7, but only Z0-Z6 can be
changed. Z7 always has both base and top addresses set to 0. This
allows the automatic register function to be effectively disabled by
setting Z7 as the automatic register.
Each offset register has two values: base and top. The base address
is the absolute least address that is used for the range declared by
the offset register. The top address is the absolute greatest address
that is used.
OF without the argument or option displays all offset registers. An
asterisk indicates which register is the automatic register.
The argument Zn is the register that is displayed or modified
register.
The option A sets register Zn as the automatic register. The automatic
register is one that is automatically added to each absolute address
argument of every command unless an offset register is explicitly
added. An asterisk indicates which register is the automatic
register.
When invoked with the Zn argument, this command goes into an
interactive mode, prompting you for information. You may change
the displayed register by typing a new value, followed by pressing
the Return key. To leave the register unaltered, press the Return key
without typing a new value.