Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: bcw@rti.UUCP (Bruce Wright)
Subject: Re: PDP-11 movb instruction
Date: 30 Jun 89 02:15:38 GMT	[thread overview]
Message-ID: <3054@rti.UUCP> (raw)
In-Reply-To: 377@mountn.dec.com

In article <377@mountn.dec.com>, coburn@clo.dec.com (John T. Coburn) writes:
> In article <2592@blake.acs.washington.edu>, erf@blake.acs.washington.edu (John Firestone) writes...
> >If a MOVB instruction writes the low byte of a word-oriented device
> >register, what does the high byte get set to?
> 
> The high byte would be unchanged if the device register allows byte access. 
> Otherwise the result would be undefined.

I think officially this is true - but in practice, essentially all 
implementations of the PDP-11 architecture will sign extend the byte to 
either all 0's or all 1's depending on the setting of bit 7.

						Bruce C. WrighT


  reply	other threads:[~1989-06-30  2:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1989-06-29  1:59 PDP-11 movb instruction John T. Coburn
1989-06-30  2:15 ` Bruce Wright [this message]
1989-06-30 15:51   ` Philip Jeuck
1989-07-02  4:41     ` Bruce Wright
  -- strict thread matches above, loose matches on Subject: below --
1989-06-28 22:06 John Firestone
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox