Skip to content
Related Articles

Related Articles

Instruction Set used in SIC/XE
  • Last Updated : 26 Oct, 2018

Prerequisite – Instruction Set used in simplified instructional Computer (SIC)
As SIC/XE is upward compatible with respect to SIC, therefore all the instructions in SIC are also used in SIC/XE. The instructions unique to SIC/XE are:

MNEMONICOPERANDOPCODEEXPLANATION
ADDRR1, R290R2 = R2 + R1
CLEARR104R1 = 0
COMPRR1, R2A0compares R1 and R2
DIVRR1, R29CR2 = R2 / R1
LDBM68B = M
LDSM6CS = M
LDTM74T = M
MULRR1, R298R2 = R2 * R1
RMOR1, R2ACR2 = R1
SHIFTLR1, nA4left shifts R1 n times
SHIFTRR1, nA8right shifts R1 n times
STBM78M = B
STSM7CM = S
STTM84M = T
SUBRR1, R294R2 = R2 – R1
TIXRR1B8X = X + 1; compares X and R1

Here,
M stands for Memory
R1 and R2 are registers (A, B, S, T)

My Personal Notes arrow_drop_up
Recommended Articles
Page :