85.1.1. Original TX-0 Registers and Instruction Set

Instrukční sada

85.1.1.1. Operate Class Commands
85.1.1.2. Coded Operate Class Commands

Odkazy:

Původní TX-0 z Lincoln Labs měl operační kód dlouhý 2 bity. Také neměl žádní indexový registr. Později, v roce 1958 při stěhování na MIT byl operační kód rozšířen ze dvou na čtyři bity a pbyl přidán indexový registr.

Dva bity operačního kódu rozlišovaly 4 instrukce. Tyto instrukce jsou ve zkratce STORE, ADD, JUMP IF LESS THAN a OPERATE

000000+addr  STO addr
200000+addr  ADD addr
400000+addr  TRN addr    // jump of AC0 is zero
600000+code  OPR code
	  

Instrukce OPR je vlastně celá třída „mikrokódovaných“ instrukcí. Jejím parametrem není adresa ale 16 bitů. Každý z těchto bitů ovlivňuje fuknce některé části počítače a jejich vzájemnou kombinací vznikají sofistikované instrukce. Tento postup byl dále rozveden v takových počítačích jako je například 63.1.2 – „PDP-8“

Instrukční slovo je široké 18 bitů. Z těchto 18-ti bitů tvoří instrukce prní dva a zbylých 16 je adresa.

Tabulka 85.1. Registry TX-0

regpopis
MBRMemory Buffer Register (18 bits)
ACAccumulator (18 bits)
MARMemory Address Register (16 bits)
PCProgram Counter (16 bits)
IRIR Instruction Register (2 bits)
LRLive Register (18 bits)
TBRToggle Switch Buffer Register (18 toggle switches)
TACToggle Switch Accumulator (18 toggle switches)
IR0IR1ABBREVIATIONINSTRUCTION
00sto xReplace the contents of register x with the contents of the AC. Let the AC remain the same.
01add xAdd the word in register x to the contents of the AC and leave the sum in the AC
10trn xIf the sign digit of the accumulator (AC0) is negative (i.e., a one) take the next instruction from there. If the sign is positive (i.e., a zero) ignore this instruction and proceed to the next instruction.
11opr xExecute one of the operate class commands indicated by the number x.
Licence Creative Commons
Elektronika a počítače, jejímž autorem je Radek Hnilica, podléhá licenci Creative Commons Uveďte autora-Nevyužívejte dílo komerčně-Zachovejte licenci 3.0 Česká republika .