mirror of
https://github.com/PDP-10/its.git
synced 2026-02-04 07:43:02 +00:00
Avoid POP TP,TP.
In the DEC Processor Reference Manual, this is documented as "result is indeterminate", and there's a note in the ITS KL microcode implying that the default KL behaviour was different from the KA. Muddle 54 uses this to drop a temporary stack frame from TP in a few places. If it doesn't work properly, one obvious result is that READing bracketed expressions leaves garbage on the TP stack -- e.g. typing <QUIT> at the interpreter will print a FIX instead. Muddle 56 replaces this with MOVE TP,(TP), so do that as a new patch.
This commit is contained in:
committed by
Adam Sampson
parent
a209c97ec1
commit
2b66dfce6e
@@ -350,6 +350,14 @@ VUP3+13/ JUMPA C,702207
|
||||
TBLSET/ JFCL
|
||||
TBLSET+3/ PUSH TP,$TWORD
|
||||
|
||||
: Modern patches
|
||||
|
||||
: POP TP,TP behaves differently on non-KA
|
||||
CBYST+4/ MOVE TP,(TP)
|
||||
GLOSEG-3/ MOVE TP,(TP)
|
||||
FINID/ MOVE TP,(TP)
|
||||
CARIT1+10/ MOVE TP,(TP)
|
||||
|
||||
:pdump mudsav;ts mud54
|
||||
g
|
||||
|
||||
|
||||
Reference in New Issue
Block a user