0% found this document useful (0 votes)
85 views

System Software and Machine Architecture Introduction2

The document provides an overview of system software and the Simplified Instructional Computer (SIC) machine architecture. It discusses how system software supports computer operations while application software solves problems. The SIC includes five registers and uses a 24-bit instruction format with two addressing modes. The SIC/XE adds more registers and supports larger memory and additional addressing modes. Input/output is performed by transferring bytes to and from the accumulator register.

Uploaded by

Sathyapriya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
85 views

System Software and Machine Architecture Introduction2

The document provides an overview of system software and the Simplified Instructional Computer (SIC) machine architecture. It discusses how system software supports computer operations while application software solves problems. The SIC includes five registers and uses a 24-bit instruction format with two addressing modes. The SIC/XE adds more registers and supports larger memory and additional addressing modes. Input/output is performed by transferring bytes to and from the accumulator register.

Uploaded by

Sathyapriya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

System software and machine architecture introduction :

• The subject introduces the design and implementation of system software.Software is


set of instructions or programs written to carry out certain task on digital computers.
• It is classified into system software and application software. System software
consists of a variety of programs that support the operation of a computer.
• Application software focuses on an application or problem to be solved. System
software consists of a variety of programs that support the operation of a computer.
System software and machine architecture:
• System software –support operation and use of computer. Application software -
solution to a problem.
• Assembler translates mnemonic instructions into machine code. The instruction
formats, addressing modes etc., are of direct concern in assembler design.
• Similarly, Compilers must generate machine language code, taking into account such
hardware characteristics as the number and type of registers and the machine
instructions
available.
• Operating systems are directly concerned with the management of nearly all of the
resources of a computing system.
• There are aspects of system software that do not directly depend upon the type of
computing system, general design and logic of an assembler, general design and logic
of a compiler and, code optimization techniques, which are independent of target
machines.
• Likewise, the process of linking together independently assembled subprograms does
not usually depend on the computer being used.
The Simplified Instructional Computer (SIC)
• Simplified Instructional Computer (SIC) is a hypothetical computer that includes the
hardware features most often found on real machines.
• There are two versions of SIC they are standard model (SIC) and, extension version
(SIC/XE) (extra equipment or extra expensive).
SIC Machine Architecture
• The SIC machine architecture with respect to its Memory and Registers, Data
Formats, Instruction Formats, Addressing Modes, Instruction Set, Input and Output
Memory .
• There are 215 bytes in the computer memory, that is 32,768 bytes , It uses Little
Endian format to store the numbers, 3 consecutive bytes form a word , each location
in memory contains 8 -bit bytes.
Registers
• There are five registers each 24 bits in length . The ir mnemonic, number and use are
given in the following table.
Mnemonic Number Use
A 0 Accumulator; used for arithmetic operations
X 1 Index register; used for addressing
L 2 Linkage register; JSUB
PC 8 Program counter
SW 9 Status word, including CC
Data Formats
Integers are stored as 24 -bit binary numbers , 2’s complement representation is used for
negative values, characters are stored using their 8-bit ASCII codes, No floating-point
hardware on the standard version of SIC.
Instruction Formats
Opcode(8) x Address(15)
All machine instructions on the standard version of SIC have the 24 -bit format as shown
above
Addressing Modes
Mode Indication Target address calculation
Direct x=0 TA = address
Indexed x=1 TA = address + (x)
• There are two addressing modes available, which are as shown in the above table.
Parentheses are used to indicate the contents of a register or a memory location.
Instruction Set
• SIC provides, load and store instructions (LDA, LDX, STA,STX, etc.)Integer
arithmetic operations:(ADD, SUB, MUL, DIV, etc.).
• All arithmetic operations involve register A and a word in memory, with the result
being left in the register.
• Two instructions are provided for subroutine linkage. COMP compares the value in
register A with a word in memory, this instruction sets a condition code CC to
indicate the result.
• There are conditional jump instructions: (JLT, JEQ, JGT), these instructions test the
setting of CC and jump accordingly.
• JSUB jumps to the subroutine placing the return address in register L, RSUB returns
by jumping to the address contained in register L.
Input and Output
• Input and Output are performed by transferring 1 byte at a time to or from the
rightmost 8 bits of register A (accumulator).
• The Test Device (TD) instruction tests whether the addressed device is ready to send
or receive a byte of data.Read Data (RD),Write Data (WD)are used for reading or
writing the data.

Data movement and Storage Definition


LDA, STA, LDL, STL, LDX, STX (A-Accumulator, L–Linkage Register,X–Index
Register),all uses 3 byte word. LDCH, STCH associated with characters uses 1-byte. There
are no memory-memory move instructions. 4 Storage definitions are
• WORD – ONE -WORD CONSTANT
• RESW – ONE -WORD VARIABLE
• BYTE – ONE -BYTE CONSTANT
• RESB – ONE -BYTE VARIABLE
SIC/XE Machine Architecture
Memory
Maximum memory available on a SIC/XE system is 1 Megabyte (220 bytes)
Registers
Additional B, S, T, and F registers are provided by SIC/XE, in addition to the registers of SIC
Mnemonic Number Special use
B 3 Base register
S 4 General working register
T 5 General working register
F 6 Floating -point accumulator(48 bits)
Addressing modes & Flag Bits
Five possible addressing modes plus the combinations are as follows.

Direct(x, b, and p all set to 0): operand address goes as it is. n and i are both set to the same
value, either 0 or 1. While in general that value is 1, if set to 0 for format 3 we can assume
that the rest of the flags (x, b, p, and e) are used as a part of the address of the operand, to
make the format compatible to the SIC format.
Relative(either b or p equal to 1 and the other one to 0): the address of the
operand should be added to the current value stored at the B register (if b = 1) or to thevalue
stored at the PC register (if p = 1)
Immediate
(i = 1, n = 0): The operand value is already enclosed on the instruction (ie. lies on the last
12/20 bits of the instruction)
Indirect (i = 0, n = 1): The operand value points to an address that holds the address for the
operand value.
Indexed (x = 1): value to be added to the value stored at the register x to obtain real address
of the operand. This can be combined with any of the previous modes except immediate.

You might also like