Text preview for : Mopcodes.mesa_Oct77.pdf part of xerox Mopcodes.mesa Oct77 xerox mesa 3.0_1977 listing Mopcodes.mesa_Oct77.pdf



Back to : Mopcodes.mesa_Oct77.pdf | Home

mopcOOES.mESA 24-0CT-77 18:38:25 Page 1



-- File Mopcodes.Mesa
-- Last modified by Johnsson; May 18, 9177 11:33 AM
Mopcodes: DEFINITIONS =
BEGIN
opcode: TYPE = [O .. 377B]:

-- LOAD/STORE (16 bits) [10B .. 67B]
zLGn,zLGO: opcode = lOB;
zLG1: opcode = zLGO + 1;
zLG2: opcode = zLGI + 1:
zLG3: opcode zLG2 + 1;
zLG4: opcode zLG3 + 1;
zLG5: opcode zLG4 + 1;
zLG6: opcode zLG5 + 1;
zLG7 : opcode = zLG6 + 1;
zLGB: opcode zLG7 + 1;
zLGS: opcode zLGB + 1;
zSGn,zSGO: opcode zLGS + 1;
zSGl : opcode zSGO + 1;
zSG2 : opcode zSGl + 1;
zSG3: opcode zSG2 + 1;
zSGB: opcode zSG3 + 1:
zSGS: opcode zSGB + 1;
zLLn,zLLO: opcode zSGS + 1:
zLL1 : opcode zLLO + 1:
zLL2: opcode zLL1 + 1:
zLL3: opcode zLL2 + 1:
zLL4: opcode zLL3 + 1;
zLL5: opcode zLL4 + 1:
zLL6: opcode zLL5 + 1;
zLL7 : opcode zlL6 + 1:
zLLB: opcode zLL7 + 1;
zLLS: opcode zLLB + 1:
zSLn,zSLO: opcode zLLS + 1;
zSL1 : opcode zSLO + 1;
zSL2: opcode zSL1 + 1:
zSL3 : opcode zSl2 + 1;
zSL4: opcode zSL3 + 1:
zSL5: opcode zSL4 + 1:
zSL6 : opcode zS15 + 1;
zSL7 : opcode zSL6 + 1:
zSLB: opcode zS17 + 1;
zSLS: opcode zSLB + 1;
zLIn,zLIO: opcode zSLS + 1:
zLI 1: opcode zLIO + 1;
zLI2 : opcode zLII + 1;
zLI3: opcode zLI2 + 1;
zLI4 : opcode zLI3 + 1;
zLI5: opcode zLI4 + 1;
d.16 : opcode zLI5 + 1;
zLINn.zLIN1: opcode zll6 + 1;
zLIB: opcode zLIN1 + 1;
zLIW: opcode zLIB + 1;
lLINB: opcode zLIW + 1;
-- LOAD/STORE (32 bits) [70B .. 778]
zIGOB: opcode 70B;
lLGOS: opcode zLGOB + 1;
J'SGOB: opcode 1 LGOS + 1;
ISGOS: opcode zSGOB + 1;
ILlOB: opcode zSGOS + 1;
zLl OS: opcode zllOB + 1;
lSIOB: opcode zllOS + 1;
lSI OS: opcode z SlOB + 1;

-- RrAO/WRITr using TOS as pointer [1008 .. 127B]
?Rn.?RO: opcode 100B;
IR 1 : opcode .lRO +
J'R2: opcode 7Rl +
lR3: opcode lR2 +
mopcODES .mESA 24-0CT--77 18:38:26 Page 2


zR4: opcode zR3 + 1 :
zRB: opcode zR4 + 1 :
zWn,zWO: opcode = zRB + 1:
zW1: opcode zWO + 1 :
zW2: opcode zW1 + 1 :
zWB: opcode = zW2 + 1 :
zRF: opcode = zWB + 1 :
zWF: opcode = zRF + 1 :
zRDB: opcode zWF + 1:
zRDO: opcode zRDB + 1:
zWDB: opcode zRDO + 1;
zWDO: opcode zWDB + 1:
zRSTR: opcode zWDO + 1:
zWSTR: opcode zRSTR + 1:

-- READ/WRITE using local as tied-pointer !lase [122B. _126B]
zRXLn,zRXLO: opcode 122B:
zRXL1 : opcode zRXLO + 1:
zRXL2: opcode zRXL1 + 1;
zRXL3: opcode zRXL2 + 1:
zWXLn.zWXLO: opcode = zRXL3 + 1:

-- READ/WRITE using local/global as pointer [127B .. 147B]
zRIGn,zRIGO: opcode 127B;
zR IG 1 : opcode zRIGO + 1:
zRIG2: opcode zRIG1 + 1 ;
zRIG3: opcode zRIG2 + 1 :
zWIGn,zWIGO: opcode zRIG3 + 1;
zRILn,zRILO: opcode zWIGO + 1 ;
zRIL1 : opcode zRILO + 1 :
zRIL2: opcode zRIL1 + 1 ;
zRIL3: opcode = zRIL2 + 1;
zWILn,zWILO: opcode = zRIL3 + 1;
zWSO: opcode zWILO + 1;
zWSB: or':ode = zWSO + 1;
zWSF: opcode = zWSB + 1;
zWSDB: opcode zWSF + 1;
zWSDS: opcode zWSDB + 1;
-- JUMPS [150B .. 247B]
zJnE,zJ1E: opcode 150B:
zJ2E: opcode zJIE + 1;
zJ3E: opcode zJ2E + 1 ;
zJ4E: opcode zJ3E + 1 ;
zJnO,zJI0: opcode zJ4E + 1 ;
zJ20: opcode zJI0 + 1 ;
zJ30: opcode zJ2D + 1 ;
zJ40: opcode zJ30 + 1;
zJBE: opcode zJ40 + 1 ;
zJBO: opcode zJBE + 1;
zJWE: opcode zJBO + 1.
zJWO: opcode zJWE + I.
zNJBE: opcode zJWO + 1.
zNJBO: opcode zNJRE + 1;
zJEQnE,lJEQIE:opcode zNJBO + 1;
zJEQ2E: opcode 7JEQIE + 1.
zJEQ3E: opcode zJfQ2E + 1.
zJ[Q4E: opcode ,JEQ3E + 1.
zJEQnO.7JfQI0:opcode 7JEQ4E + 1;
lJrQ20: opcode "JfQI0 + t