Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* I'm looking for an MFPR example
@ 2012-07-23  5:42 mikestramba
  2012-07-23  8:34 ` mstram
  2012-07-23 20:56 ` Johnny Billquist
  0 siblings, 2 replies; 10+ messages in thread
From: mikestramba @ 2012-07-23  5:42 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-08-06 14:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-23  5:42 I'm looking for an MFPR example mikestramba
2012-07-23  8:34 ` 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

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