1
0
mirror of https://github.com/wfjm/w11.git synced 2026-04-24 19:40:39 +00:00

documentation update [skip ci]

This commit is contained in:
wfjm
2022-12-09 09:28:39 +01:00
parent 44c96ec4ab
commit e257162109
18 changed files with 248 additions and 29 deletions

16
doc/simh_diff_spl.md Normal file
View File

@@ -0,0 +1,16 @@
## Known differences between SimH, 11/70, and w11a
### SimH: `SPL` doesn't have 11/70 behavior
On an 11/70, the `SPL` instruction in the 11/70 always fetches the next
instruction regardless of current mode, pending device, or even console
interrupts. This behavior is used in some xxdp diagnostic codes to prepare
a situation suitable for interrupt response testing.
SimH does not implement this behavior, `SPL` behaves like all other
instructions, and interrupts or traps are honored after it completes.
xxdp `ekbbf0` test 32 depends on the 11/70 behavior and is skipped.
The w11 implements 11/70 behavior for `SPL` in kernel mode only. In supervisor
or user mode `SPL` is a nop and honors traps and interrupts, see
[`SPL` on w11](w11a_diff_70_spl_bug.md).