-
Notifications
You must be signed in to change notification settings - Fork 2
Transfer and Fill
Chysn edited this page Jan 24, 2022
·
5 revisions
To copy a block of memory from one location to another, use the & tool:
.T start end target
Where start, end, and target are 16-bit hexadecimal addresses.
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 start "pattern"
.T start end-length *