To create new segment maps and add them to
a memory map, use the
?M (create a text segment entry)
/M (create a data segment entry)
these commands create a new map instead of changing
an existing one.
These commands have the following form:
?M segment-number file-position size
/M segment-number file-position size
In the above command lines segment-number is the number of the segment map to be created and must be unique, file-position is the offset in the file to the beginning of the given address, and size is the segment size in bytes.
The ?M and /M commands are useful in accessing segments that are otherwise allocated to your program. For example, the following command creates a text segment entry for segment 0x47 whose size is 0x9c8 bytes:
?M 0x47 0x0 0x9c8