System Programming Flashcards

1
Q

Firmware

A

Software that is programmed into the chips. Eg., BIOS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

SYSTEM SOFTWARE

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Difference between the System software and Application:

A

Machine Dependency- support the operation and use of the computer itself.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Examples of System Software:

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Machine Dependent

A

Instruction Set; Instruction format; Addressing Mode; Assembly Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Machine Independent

A

General design; Two passes assembler

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

SIC(Simplified Instructional Computer) comes in two forms:

A

Standard SIC
SIC/XE(Extra Equipment or Extra Expensive)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Are both the forms of the SIC is upward compatible?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Characterstics of the SIC:

A

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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Data Format of the SIC Machine Architecture:

A

Integers == 24-bit binary number
No floating point representations
2’s complement == -ve numbers
Charcaters == 8-bit ASCII codes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Instruction Cycle:

A

Fetch Cycle
Execution Cycle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Instruction Format in the SIC

A

24-bit form
flag bit x == indexed addressing mode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Two modes of addressing in SIC

A

Direct: x=0: TA= address
Indirect: x=1: TA= x +address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Instruction Set:

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

I/O in the SIC:

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

SIC/XE Machine Architecture:

A

1 MB in memory
3 reg: B- 3, S-4, T-5
1 additional reg: F-6 (48 bits)

17
Q

Data format in the SIC/XE:

A

Integer: 24-bit
48-bit floating point values
exponent: 0-2047
f*2^(e-1024)
0: set all bits to 0

18
Q

Instruction formats in the SIC/XE

A

Relative addressing (format 3: e=0)
Extend the address to 20 bits(format 4: e=1)
no reference to memory at all: (format 1 and format 2)

19
Q

Addressing modes in the SIC/XE:

A

n i x b p e
Simple: n=0, i=0 or n=1, i=1
Immediate: n=0, i=1, TA=Valus
Indirect: n=1, i=0, TA=(Operand)
Base relative: b=1, p=0 TA=(B)+disp
0<=disp<=4095
PC relative: b-0, p=1 TA=(PC)+disp
-2048<= disp <= 2047
Direct: b=0, p=0 TA=disp
Index: x=1 TAnew=TAold +(x)
Index +base relative: x=1,b=1,p=0 TA=(B) +disp +(X)
Index +PC relative
Index + Direct: x=1,b=0,p=0
Fromat 4: e=1

20
Q

Instruction Set in the SIC/XE:

A

Format 1,2,3, or 4
Load and store registers (LDB, STB)
Floating point arithmetic operations(ADDF<SUBF<MULF<DIVF)
Register-to-register aruthmetic operations(ADDR<SUBR<MULR<DIVR)
A special supervisor instruction(SVC)

21
Q

I/O in SIC/XE

A

1 byte at the time
TD
RD
WD
SIO,TIO,HIO: start, test and halt

22
Q

Traditional CISC Machines:

A

CISC do all the loading through a single instruction.
Different Instruction formats and lengths.
Many different addressing modes.
EG., VAX or PDP-11 from DEC and Intel x86 family

23
Q

RISC Machines:

A

Standard and fixed instruction format
single cycle execution of most instructions
memory access available for loading and storing instructions
other instructions are register to register operations
small number of machine instructions

large number of general purpose registers
small number of addressing modes

24
Q

Three RISC machines:

A

SPARC family, PowerPC family, Cray T3E