16 bit Assembly
Home Feedback Site Map Instruction Index
There will be times when you need to set the contents of a memory block to a default value.
The following code peforms this action quickly.
This routine is about as fast as it gets in 16bit. It you want to move a null rerminate string without knowing its length use the string routine that follows.
It will also copy to and from other segments if you set the segment pointers before calling.
This routine is about as fast as it gets in 16bit. It you want to move a null rerminate string without knowing its length use the string routine that follows.
The routine can also be used to copy the left part of a string, in which case you must remember to add a NULL at the end.