Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: mikestramba@gmail.com
Subject: I'm looking for an MFPR example
Date: Sun, 22 Jul 2012 22:42:46 -0700 (PDT)	[thread overview]
Message-ID: <2730fbea-7d3e-4525-898b-1e12043f540b@googlegroups.com> (raw)

Hi all,

I've been playing with OPENVMS on SIMH, and am wondering what the MFPR instruction does during the ROM boot code?

The MACRO manual explanation is not very helpful 

I thought from reading it, that it would (in "non (VM) mode, as I assume the SIMH vax is on "power on"), behave just like a MOVL instruction ?

But apparently / obviously, these are not the same thing : (when I EXAMINE 2000)

MOVL  #2000,R1
MFPR #2A,0(R1)
MOVL #2A,0(R1)

"If the processor is in virtual machine (VM) mode, and the virtual machine is
in kernel mode, then a VM-emulation trap is taken. The destination operand
is replaced by the contents of the processor register specified by procreg. The
procreg operand is a longword that contains the processor register number.
Execution may have register-speci?c side effects.

<rant on> (for manual writers)

USE EXAMPLES !!
</rant off>

thx

Mike



             reply	other threads:[~2012-07-26 14:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-23  5:42 mikestramba [this message]
2012-07-23  8:34 ` I'm looking for an MFPR example mstram
2012-07-23 21:51   ` Bob Koehler
2012-07-23 20:56 ` Johnny Billquist
2012-07-23 21:00   ` Bob Eager
2012-07-24  8:23     ` Johnny Billquist
2012-07-24  9:45       ` Bob Eager
2012-07-31 13:54         ` Johnny Billquist
2012-07-24 21:00     ` Bob Koehler
2012-07-24 21:17       ` Bob Eager
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