Subject: Re: question about sys/arch/m68k/m68k/copypage.s
To: None <port-m68k@netbsd.org>
From: Daniel Pettersson <tam@dataphone.se>
List: port-m68k
Date: 02/07/2001 07:06:06
On Tue, 6 Feb 2001, Matthew Fredette wrote:

> Is that movw to load the loop count into %d0 correct?  I'm new to
> 680x0 assembly, but doesn't this leave garbage in the high word
> of %d0, when the dbf is going to decrement all of %d0 to -1?

Hi!
No, the DBcc instructions only affect the low word, the high word isn't
used nor abused.

/daniel