Skip to content
Related Articles

Related Articles

Instruction Set used in simplified instructional Computer (SIC)
  • Difficulty Level : Easy
  • Last Updated : 06 Oct, 2020

Prerequisite – Simplified Instructional Computer (SIC) 
These are the instructions used in programming the Simplified Instructional Computer(SIC). 

Here, 
A stands for Accumulator 
M stands for Memory 
CC stands for Condition Code 
PC stands for Program Counter 
RMB stands for Right Most Byte 
L stands for Linkage Register 

 

MNEMONICOPERANDOPCODEEXPLANATION
ADDM18A = A + M
ANDM40A = A AND M
COMPM28compares A and M
DIVM24A = A / M
JM3CPC = M
JEQM30if CC set to =, PC = M
JGTM34if CC set to >, PC = M
JLTM38if CC set to <, PC = M
JSUBM48L = PC ; PC = M
LDAM00A = M
LDCHM50A[RMB] = M[RMB]
LDLM08L = M
LDXM04X = M
MULM20A = A * M
ORM44A = A OR M
RDMD8A[RMB] = data specified by M[RMB]
RSUB 4CPC = L
STAM0CM = A
STCHM54M[RMB] = A[RMB]
STLM14M = L
STSWME8M = SW
STXM10M = X
SUBM1CA = A – M
TDME0test device specified by M
TIXM2CX = X + 1 ; compare X with M
WDMDCdevice specified by M[RMB] = A[RMB]

 

My Personal Notes arrow_drop_up
Recommended Articles
Page :