tx0: Update OPR disassembly for older versions; add notes

This commit is contained in:
AJR 2022-05-22 21:44:49 -04:00
parent 729fc31c4a
commit eaf60dbb02

View File

@ -41,7 +41,12 @@
1.7 | 600010 (CRY) Add carry digits to AC (according to MBR)
1.8 | 603000 (HLT) Halt computer
ANL and ORL were added in the first half of 1959 (M-5001-6).
ANL and ORL were added in May 1959, along with TRA (M-5001-6).
LLR and SLR were added a few months later (M-5001-7).
A few derived OPRs not mentioned in M-5001-27 are documented in
the listing of the updated vocabulary table for the TRA-patched
version of UT3.
Mnemonics and relative timing of operate class micro-instructions
after 1960 (as given in M-5001-27-3 and M-5001-27-4):
@ -77,6 +82,10 @@
1.8 | 603000 (HLT) Halt computer
Previously supported Input-Output Stop group codes were unchanged.
However, the old semantics of R1L cycling AC left after reading one
line are no longer obtainable because AMB now occurs after rather than
before IOS. Anticipation of this incompatibity (q.v. M-5001-16) is
likely why R1L is unlisted in M-5001-27.
***************************************************************************/
@ -129,7 +138,7 @@ offs_t tx0_64kw_disassembler::disassemble(std::ostream &stream, offs_t pc, const
void tx0_64kw_disassembler::dasm_opr(std::ostream &stream, u32 inst)
{
switch (inst)
switch (inst)
{
case 0600012:
stream << "cry";
@ -159,6 +168,10 @@ switch (inst)
stream << "pen";
break;
case 0600121:
stream << "cpa";
break;
case 0600200:
stream << "lro";
break;
@ -195,6 +208,10 @@ switch (inst)
stream << "dsc";
break;
case 0622100:
stream << "dip";
break;
case 0624000:
stream << "prt";
break;
@ -243,6 +260,10 @@ switch (inst)
stream << "tac";
break;
case 0740012:
stream << "lal";
break;
case 0740022:
stream << "lac";
break;
@ -739,7 +760,7 @@ offs_t tx0_8kw_disassembler::disassemble(std::ostream &stream, offs_t pc, const
stream << "arx";
break;
case 0100000: case 0140000:
case 0100000:
stream << "cla";
break;
@ -751,7 +772,7 @@ offs_t tx0_8kw_disassembler::disassemble(std::ostream &stream, offs_t pc, const
stream << "lal";
break;
case 0100022: case 0140022:
case 0100022:
stream << "lac";
break;
@ -759,7 +780,7 @@ offs_t tx0_8kw_disassembler::disassemble(std::ostream &stream, offs_t pc, const
stream << "lacUlxr";
break;
case 0100040: case 0140040:
case 0100040:
stream << "clc";
break;