SlideShare a Scribd company logo
1 of 17
Simplified Instructional Architecture(SIC)
Simplified Instructional Computer (SIC)
• Simplified Instructional Computer (SIC) is a hypothetical
computer that has hardware features that are often
found in real machines.
• There are two versions of this machine:
❖ SIC standard Model
❖ SIC/XE(extra equipment or expensive)
• Object programs for SIC can be properly executed on
SIX/XE which is known as upward compatibility.
SIC Machine Architecture/Components
SIC Machine Architecture/Components –
Memory –
○ Memory is byte-addressable that is words are addressed by the
location of their lowest numbered byte.
○ There are 2^15 bytes in computer memory (1 byte = 8 bits)
3 consecutive byte = 1 word (24 bits = 1 word)
SIC Machine Architecture/Components –
Registers –
• There are 5 registers in SIC. Every register has an address associated with it known as a
registration number. The size of each register is 3 bytes. On basis of register size, integer
size is dependent.
I. A(Accumulator-0): It is used for mathematical operations.
II. X(Index Register-1): It is used for addressing.
III. L(Linkage Register-2): It stores the return address of the instruction in case of
subroutines.
IV. PC(Program Counter-8): It holds the address of the next instruction to be executed.
V. SW(Status Word-9): It contains a variety of information
Status Word Register:
1. mode bit refers to user mode(value=0) or supervising mode(value=1). It occupies 1 bit.[0]
2. state bit refers whether process is in running state(value=0) or idle state(value=1). It also occupies 1
bit.[1]
3. id bit refers to process id(PID). It occupies 3 bits.[2-5]
4. CC bit refers to condition code i.e. It tells whether the device is ready or not. It occupies 2 bits.[6-7]
Mask bit refers to interrupt mask. It occupies 4 bits.[8-11]
5. X refers to unused bit. It also occupies 4 bits.[12-15]
6. ICode refers to interrupt code i.e. Interrupt Service Routine. It occupies the remaining bits.[16-23]
Data Format :
✔Integers are represented by 24 bits.
✔Negative numbers are represented in 2’s complement.
For example: if n = 4, then -1 ⇔ 24 -1 = (1111)2.
✔Characters are represented by 8 bit ASCII values.
✔No floating-point representation is available.
• Instruction Format
– There is a total 24-bit format contained by all instructions in
a simplified instructional computer. The memory size of a
simplified instructional computer is 215sup bytes.
– In this image, X is used to show the index address mode.
Addressing Mode:
• The SIC can only support 2 modes, which are described as follows:
• Indexed
• Direct
Mode IndicateTarget address Calculation
Direct X = 0 TA = address
Indexed X = 1 TA = address + (X)
Instruction Set
• Load And Store Instructions: To move or store data from accumulator to memory or vice-
versa. For example LDA, STA, LDX, STX, etc.
• Comparison Instructions: Used to compare data in memory by contents in accumulator.
For example COMP data.
• Arithmetic Instructions: Used to perform operations on accumulator and memory and store
results in the accumulator. For example ADD, SUB, MUL, DIV, etc.
• Conditional Jump: compare the contents of accumulator and memory and performs task
based on conditions. For example JLT, JEQ, JGT
• Subroutine Linkage: Instructions related to subroutines. For example JSUB, RSUB
Instruction Set:
– The instruction set in SIC is described as follows:
• Arithmetic Instruction:
– SIC uses memory and register A to perform the operations. With the
help of register, the result will be stored. The arithmetic instructions
are represented with the help of ADD, MUL, SUB, DIV, etc.
For example:
ADD ALPHA ⇔ (A) ← (A) + (ALPHA)
Load and Store Instruction:
• It is used to store or move the data from memory to accumulator or from the
accumulator to memory. The load and store instructions are represented with
the help of LDX, STA, LDA, STX, etc.
For example:
– LDA ALPHA ⇔ (A) ← (ALPHA)
– STA ALPHA ⇔ (ALPHA) ← (A)
Comparison Instruction:
• It is used to compare the contents in register A and the data in memory. It
uses the CC (conditional code) of SW to save the result. The comparison
instruction is represented with the help of COMP. For example:
• COMP ALPHA ⇔ CC ← (<, +, >) of (A) ? (ALPHA)
Subroutine Linkage Instruction:
• It is used to show the instruction which is related to the
subroutine. The subroutine linkage instructions are represented
with the help of RSUB, JSUB. Here, RSUB will be returned
with the help of jumping the address in register L, and JSUB is
used to jump and place the return address in L.
Conditional Jump Instruction:
• It is first used to compare the contents of memory and accumulator. After
that, on the basis of the condition, it will perform the task. The condition
jump instructions are represented with the help of JLT, JGT, and JEQ. For
example:
• Test CC and jump accordingly
Input and Output –
It is performed by transferring 1 byte at a time from or to the rightmost 8 bits of
the accumulator. Each device has an 8-bit unique code.
There are 3 I/O instructions:
• Test Device (TD) tests whether the device is ready or not. Condition code in
Status Word Register is used for this purpose. If cc is < then the device is ready
otherwise the device is busy.
• Read data(RD) reads a byte from the device and stores it in register A.
• Write data(WD) writes a byte from register A to the device.
THANK YOU

More Related Content

Similar to SS-SIC (1).pptx

Systemsoftwarenotes 100929171256-phpapp02 2
Systemsoftwarenotes 100929171256-phpapp02 2Systemsoftwarenotes 100929171256-phpapp02 2
Systemsoftwarenotes 100929171256-phpapp02 2Khaja Dileef
 
Computer Organisation and Architecture (COA)
Computer Organisation and Architecture (COA)Computer Organisation and Architecture (COA)
Computer Organisation and Architecture (COA)SwapnitaSrivastava1
 
Instruction Set Architecture
Instruction Set ArchitectureInstruction Set Architecture
Instruction Set ArchitectureDilum Bandara
 
Datapath Design of Computer Architecture
Datapath Design of Computer ArchitectureDatapath Design of Computer Architecture
Datapath Design of Computer ArchitectureAbu Zaman
 
Digital logic and microprocessors
Digital logic and microprocessorsDigital logic and microprocessors
Digital logic and microprocessorsMilind Pelagade
 
8085 microprocessor architecture
8085 microprocessor architecture8085 microprocessor architecture
8085 microprocessor architectureArashdeepkaur16
 
Microprocessor 8085 architecture ppt. april 2013
Microprocessor 8085 architecture ppt. april 2013Microprocessor 8085 architecture ppt. april 2013
Microprocessor 8085 architecture ppt. april 2013harshalata
 
Computer Organization and 8085 microprocessor notes
Computer Organization and 8085 microprocessor notesComputer Organization and 8085 microprocessor notes
Computer Organization and 8085 microprocessor notesLakshmi Sarvani Videla
 
Unit-1_Digital Computers, number systemCOA[1].pptx
Unit-1_Digital Computers, number systemCOA[1].pptxUnit-1_Digital Computers, number systemCOA[1].pptx
Unit-1_Digital Computers, number systemCOA[1].pptxVanshJain322212
 
Control unit design
Control unit designControl unit design
Control unit designDhaval Bagal
 
system software 16 marks
system software 16 markssystem software 16 marks
system software 16 marksvvcetit
 
Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollersgomathy S
 
Microprocessor and Microcontroller.pptx
Microprocessor and Microcontroller.pptxMicroprocessor and Microcontroller.pptx
Microprocessor and Microcontroller.pptxpvg123456
 

Similar to SS-SIC (1).pptx (20)

SUDHARSAN.V.pptx
SUDHARSAN.V.pptxSUDHARSAN.V.pptx
SUDHARSAN.V.pptx
 
Systemsoftwarenotes 100929171256-phpapp02 2
Systemsoftwarenotes 100929171256-phpapp02 2Systemsoftwarenotes 100929171256-phpapp02 2
Systemsoftwarenotes 100929171256-phpapp02 2
 
Computer Organisation and Architecture (COA)
Computer Organisation and Architecture (COA)Computer Organisation and Architecture (COA)
Computer Organisation and Architecture (COA)
 
Arithmetic & Logic Unit
Arithmetic & Logic UnitArithmetic & Logic Unit
Arithmetic & Logic Unit
 
Basic non pipelined cpu architecture
Basic non pipelined cpu architectureBasic non pipelined cpu architecture
Basic non pipelined cpu architecture
 
viva q&a for mp lab
viva q&a for mp labviva q&a for mp lab
viva q&a for mp lab
 
Instruction Set Architecture
Instruction Set ArchitectureInstruction Set Architecture
Instruction Set Architecture
 
Datapath Design of Computer Architecture
Datapath Design of Computer ArchitectureDatapath Design of Computer Architecture
Datapath Design of Computer Architecture
 
UNIT-3.pptx
UNIT-3.pptxUNIT-3.pptx
UNIT-3.pptx
 
Digital logic and microprocessors
Digital logic and microprocessorsDigital logic and microprocessors
Digital logic and microprocessors
 
8085 microprocessor architecture
8085 microprocessor architecture8085 microprocessor architecture
8085 microprocessor architecture
 
Microprocessor 8085 architecture ppt. april 2013
Microprocessor 8085 architecture ppt. april 2013Microprocessor 8085 architecture ppt. april 2013
Microprocessor 8085 architecture ppt. april 2013
 
Unit iii
Unit iiiUnit iii
Unit iii
 
Computer Organization and 8085 microprocessor notes
Computer Organization and 8085 microprocessor notesComputer Organization and 8085 microprocessor notes
Computer Organization and 8085 microprocessor notes
 
Unit-1_Digital Computers, number systemCOA[1].pptx
Unit-1_Digital Computers, number systemCOA[1].pptxUnit-1_Digital Computers, number systemCOA[1].pptx
Unit-1_Digital Computers, number systemCOA[1].pptx
 
Control unit design
Control unit designControl unit design
Control unit design
 
system software 16 marks
system software 16 markssystem software 16 marks
system software 16 marks
 
Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollers
 
Introduction of CPU.pptx
Introduction of CPU.pptxIntroduction of CPU.pptx
Introduction of CPU.pptx
 
Microprocessor and Microcontroller.pptx
Microprocessor and Microcontroller.pptxMicroprocessor and Microcontroller.pptx
Microprocessor and Microcontroller.pptx
 

More from kalavathisugan

More from kalavathisugan (13)

Serial Communication.pptx
Serial Communication.pptxSerial Communication.pptx
Serial Communication.pptx
 
Timer and counting.pptx
Timer and counting.pptxTimer and counting.pptx
Timer and counting.pptx
 
SS-assemblers 1.pptx
SS-assemblers 1.pptxSS-assemblers 1.pptx
SS-assemblers 1.pptx
 
SS-CISC -1.pptx
SS-CISC -1.pptxSS-CISC -1.pptx
SS-CISC -1.pptx
 
Chapter 3.4.pptx
Chapter 3.4.pptxChapter 3.4.pptx
Chapter 3.4.pptx
 
Cloud Computing 1.3.pptx
Cloud Computing 1.3.pptxCloud Computing 1.3.pptx
Cloud Computing 1.3.pptx
 
Cloud computing 2.pptx
Cloud computing 2.pptxCloud computing 2.pptx
Cloud computing 2.pptx
 
Data reduction
Data reductionData reduction
Data reduction
 
Data integration
Data integrationData integration
Data integration
 
Data pre processing
Data pre processingData pre processing
Data pre processing
 
Games
GamesGames
Games
 
Functions in c
Functions in cFunctions in c
Functions in c
 
Structures in c
Structures in cStructures in c
Structures in c
 

Recently uploaded

Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptNishitharanjan Rout
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17Celine George
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111GangaMaiya1
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answersdalebeck957
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfstareducators107
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactisticshameyhk98
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17Celine George
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 

Recently uploaded (20)

Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
Call Girls in Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in  Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in  Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactistics
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 

SS-SIC (1).pptx

  • 2. Simplified Instructional Computer (SIC) • Simplified Instructional Computer (SIC) is a hypothetical computer that has hardware features that are often found in real machines. • There are two versions of this machine: ❖ SIC standard Model ❖ SIC/XE(extra equipment or expensive) • Object programs for SIC can be properly executed on SIX/XE which is known as upward compatibility.
  • 4. SIC Machine Architecture/Components – Memory – ○ Memory is byte-addressable that is words are addressed by the location of their lowest numbered byte. ○ There are 2^15 bytes in computer memory (1 byte = 8 bits) 3 consecutive byte = 1 word (24 bits = 1 word)
  • 5. SIC Machine Architecture/Components – Registers – • There are 5 registers in SIC. Every register has an address associated with it known as a registration number. The size of each register is 3 bytes. On basis of register size, integer size is dependent. I. A(Accumulator-0): It is used for mathematical operations. II. X(Index Register-1): It is used for addressing. III. L(Linkage Register-2): It stores the return address of the instruction in case of subroutines. IV. PC(Program Counter-8): It holds the address of the next instruction to be executed. V. SW(Status Word-9): It contains a variety of information
  • 6. Status Word Register: 1. mode bit refers to user mode(value=0) or supervising mode(value=1). It occupies 1 bit.[0] 2. state bit refers whether process is in running state(value=0) or idle state(value=1). It also occupies 1 bit.[1] 3. id bit refers to process id(PID). It occupies 3 bits.[2-5] 4. CC bit refers to condition code i.e. It tells whether the device is ready or not. It occupies 2 bits.[6-7] Mask bit refers to interrupt mask. It occupies 4 bits.[8-11] 5. X refers to unused bit. It also occupies 4 bits.[12-15] 6. ICode refers to interrupt code i.e. Interrupt Service Routine. It occupies the remaining bits.[16-23]
  • 7. Data Format : ✔Integers are represented by 24 bits. ✔Negative numbers are represented in 2’s complement. For example: if n = 4, then -1 ⇔ 24 -1 = (1111)2. ✔Characters are represented by 8 bit ASCII values. ✔No floating-point representation is available.
  • 8. • Instruction Format – There is a total 24-bit format contained by all instructions in a simplified instructional computer. The memory size of a simplified instructional computer is 215sup bytes. – In this image, X is used to show the index address mode.
  • 9. Addressing Mode: • The SIC can only support 2 modes, which are described as follows: • Indexed • Direct Mode IndicateTarget address Calculation Direct X = 0 TA = address Indexed X = 1 TA = address + (X)
  • 10. Instruction Set • Load And Store Instructions: To move or store data from accumulator to memory or vice- versa. For example LDA, STA, LDX, STX, etc. • Comparison Instructions: Used to compare data in memory by contents in accumulator. For example COMP data. • Arithmetic Instructions: Used to perform operations on accumulator and memory and store results in the accumulator. For example ADD, SUB, MUL, DIV, etc. • Conditional Jump: compare the contents of accumulator and memory and performs task based on conditions. For example JLT, JEQ, JGT • Subroutine Linkage: Instructions related to subroutines. For example JSUB, RSUB
  • 11. Instruction Set: – The instruction set in SIC is described as follows: • Arithmetic Instruction: – SIC uses memory and register A to perform the operations. With the help of register, the result will be stored. The arithmetic instructions are represented with the help of ADD, MUL, SUB, DIV, etc. For example: ADD ALPHA ⇔ (A) ← (A) + (ALPHA)
  • 12. Load and Store Instruction: • It is used to store or move the data from memory to accumulator or from the accumulator to memory. The load and store instructions are represented with the help of LDX, STA, LDA, STX, etc. For example: – LDA ALPHA ⇔ (A) ← (ALPHA) – STA ALPHA ⇔ (ALPHA) ← (A)
  • 13. Comparison Instruction: • It is used to compare the contents in register A and the data in memory. It uses the CC (conditional code) of SW to save the result. The comparison instruction is represented with the help of COMP. For example: • COMP ALPHA ⇔ CC ← (<, +, >) of (A) ? (ALPHA)
  • 14. Subroutine Linkage Instruction: • It is used to show the instruction which is related to the subroutine. The subroutine linkage instructions are represented with the help of RSUB, JSUB. Here, RSUB will be returned with the help of jumping the address in register L, and JSUB is used to jump and place the return address in L.
  • 15. Conditional Jump Instruction: • It is first used to compare the contents of memory and accumulator. After that, on the basis of the condition, it will perform the task. The condition jump instructions are represented with the help of JLT, JGT, and JEQ. For example: • Test CC and jump accordingly
  • 16. Input and Output – It is performed by transferring 1 byte at a time from or to the rightmost 8 bits of the accumulator. Each device has an 8-bit unique code. There are 3 I/O instructions: • Test Device (TD) tests whether the device is ready or not. Condition code in Status Word Register is used for this purpose. If cc is < then the device is ready otherwise the device is busy. • Read data(RD) reads a byte from the device and stores it in register A. • Write data(WD) writes a byte from register A to the device.