This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]