-
Notifications
You must be signed in to change notification settings - Fork 2
Transfer and Fill
Chysn edited this page Feb 4, 2022
·
5 revisions
To copy a block of memory from one location to another, use the Transfer Tool:
.T from to target
Where from, to, and target are 16-bit hexadecimal addresses. Transfer will copy the specified memory range from the from address to the target address.
To fill a block of memory with a specific byte pattern, use the following two-step process. First, set your pattern once at the beginning of the range. This can be any type of pattern, but the example will use the text editor. Second, copy that pattern to the destination using the Command Pointer (*) as the target address. Subtract the pattern length from the end address to make sure the pattern doesn't extend beyond the desired end address.
.A from "pattern"
.T from to-minus-length *