mirror of
https://github.com/wfjm/w11.git
synced 2026-02-14 04:04:42 +00:00
1.2 KiB
1.2 KiB
Known differences between w11a and KB11-C (11/70)
MMR0 instruction complete implementation differences
The 11/70 and 11/45 are the only PDP-11 processors that also support the
recovery of an MMU abort of a stack push during trap or interrupt processing.
To distinguish between an instruction and a trap processing abort, the
MMR0 has a bit called instruction completed. It is set to 0
when an instruction is aborted and to 1 when a vector service flow is
aborted. The MMR2 contains the vector address in the latter case.
w11 supports this feature, but has two implementation differences:
- the
instruction completedflag is set andMMR2is loaded with the vector address for all vector flows. The 11/70 does this only for traps, aborts and interrupts, but not for trap instructions (BPT,IOT,TRAP,EMT). - the w11 decrements the
SPbefore each vector push, while the 11/70 decrements theSPtwice before the 1st vector push. Therefore, after an MMU abort of the 1st vector push,MMR1has000336on the w11 and173366on the 11/70. xxdp programekbee1test 067 checks thisMMR1response and has been modified (see patch).