|
|
To change the values of a memory map, use the
?m
and
/m
commands.
These commands assign specified values to the corresponding
map entries.
The commands have the following forms:
?m segment-number file-position size
/m segment-number file-position size
In the above command lines segment-number gives the number of the segment map to be changed. file-position gives the offset in the file to the beginning of the given address, size is the segment size in bytes, ?m assigns values to a text segment entry, and /m assigns values to a data segment entry.
For example, the following command changes the file position for segment 0x3f in the text map to 0x2000:
?m 0x3f 0x2000The following command changes the file position for segment 0x47 in the data map to 0x0:
/m 0x47 0x0