|
|
The equal sign (=) command displays a given address in a given format. This is used primarily to display instruction and data addresses in simpler form, or to display the results of arithmetic expressions. For example, the following displays the absolute address of the symbol ``main'' (giving the segment and offset):
main=AThe following displays (in decimal) the sum of the variable b and the hexadecimal value 0x2000:
<b+0x2000=DIf a count is given, the same value is repeated that number of times. For example, the following displays the value of ``main'' twice:
main,2=xIf no address is given, the current address is used instead. This is the same as the following command:
If no format is specified, the previous format, specified for this command, is used. For example, in the following sequence, both ``main'' and ``_start'' are displayed in hexadecimal:
main=x _start=