[patch] libc/machine/m68k: Incorporate memcpy and memset.

Aaron J. Grier aaron@frye.com
Fri May 4 02:56:00 GMT 2007


On Tue, May 01, 2007 at 11:02:59AM -0700, Aaron J. Grier wrote:
> as already pointed out by Eric, dbxx is limited in range.  it is my
> understanding that dbxx does a compare to -1 against the lower 16bits of
> the count register, which would effectively limit the count to 32767.

for clarification, the comparison to -1 is made after the decrement is
performed, so a loop-mode copy can be done up to a full 64k.  (helps to
read some code...)

-- 
  Aaron J. Grier  |   Frye Electronics, Tigard, OR   |  aaron@frye.com



More information about the Newlib mailing list