[Simh] Problem with MT_ASTLVL on the VAX-11/780

Jeremy Begg jeremy at vsm.com.au
Wed May 17 20:11:22 EDT 2017


Hi Johny,

> Hum. Do I remember wrong? I seem to remember that when you MOVB to a register, the value should be sign extended. So not just the low byte should have been modified.

I thought so too, but decided to check and found this is not true.

From the “VAX Architecture Handbook”, 1981, page 179:

“Unlike the PDP-11, but like the other VAX-11 instructions, MOVB and MOVW do not modify the high order bytes of a register destination.  Refer to the MOVZxL and CVTxL instructions to update the full register contents.”

Regards,

        Jeremy Begg

  +---------------------------------------------------------+
  |            VSM Software Services Pty. Ltd.              |
  |                 http://www.vsm.com.au/                  |
  |       "OpenVMS Systems Management & Programming"        |
  |                  Web & Email Hosting                    |
  |---------------------------------------------------------|
  | P.O.Box 402, Walkerville, |  E-Mail:  jeremy at vsm.com.au |
  | South Australia 5081      |   Phone:  +61 8 8221 5188   |
  |---------------------------|  Mobile:  0414 422 947      |
  |  A.C.N. 068 409 156       |     FAX:  +61 8 8221 7199   |
  +---------------------------------------------------------+





More information about the Simh mailing list