System Programming Flashcards
Firmware
Software that is programmed into the chips. Eg., BIOS
SYSTEM SOFTWARE
Programs that supports the operations of the computer.
Implemented in either software or firmware which makes the hardware usable.
This help establishes the concept of the black box
Difference between the System software and Application:
Machine Dependency- support the operation and use of the computer itself.
Examples of System Software:
Text Editor
Compiler and assembler
Loader or Linker (former loads the program into the memory and the later combines all the object files and create a single executable file)
Macroprocessor
Utility Program
Machine Dependent
Instruction Set; Instruction format; Addressing Mode; Assembly Language
Machine Independent
General design; Two passes assembler
SIC(Simplified Instructional Computer) comes in two forms:
Standard SIC
SIC/XE(Extra Equipment or Extra Expensive)
Are both the forms of the SIC is upward compatible?
Yes
Characterstics of the SIC:
Upward compatible
Memory== 8-bit bytes
Computer Memory == 32768 bytes (32KB)
5 registers, 24 bits in the length:->
A- 0- Accumulator
X- 1- Index register
L- 2- Linkage register(JSUB)
PC-8 - Program counter
SW-9 - Status word(Condition Code)
Data Format of the SIC Machine Architecture:
Integers == 24-bit binary number
No floating point representations
2’s complement == -ve numbers
Charcaters == 8-bit ASCII codes
Instruction Cycle:
Fetch Cycle
Execution Cycle
Instruction Format in the SIC
24-bit form
flag bit x == indexed addressing mode
Two modes of addressing in SIC
Direct: x=0: TA= address
Indirect: x=1: TA= x +address
Instruction Set:
Format 3, load and stores registers, integer arithmetic proportions, COMP, Conditional jump instructions, JSUB returns to the subroutine placing the return address in register L, RSUB returns by jump to the address contained in the register L
I/O in the SIC:
performed by transferring 1 byte at the time to or from the rightmost 8 bits of register A.
Each device is assigned a unique 8-bit code as an operand.
Test Device: Tests whether the addressed device is ready to send or receive,
< - ready = not ready
RD & WD