CSC 231 Computer Systems Study Guide

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 54

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

55 Terms

1

CPU (Central Processing Unit)

Executes instructions.

New cards
2

Main Memory (RAM)

Stores programs and data.

New cards
3

Input Devices

Keyboard, mouse, etc.

New cards
4

Output Devices

Monitor, printer, etc.

New cards
5

The Bus

Transfers data between components.

New cards
6

Von Neumann Architecture

Stores both instructions and data in memory.

New cards
7

Fetch-Decode-Execute Cycle

Used to run programs.

New cards
8

PEP/9

A teaching CPU model used to learn computer architecture concepts.

New cards
9

Accumulator (A)

Primary register for operations.

New cards
10

Index Register (X)

Used for looping and indexing.

New cards
11

Program Counter (PC)

Holds the next instruction's address.

New cards
12

Stack Pointer (SP)

Manages function calls.

New cards
13

Instruction Register (IR)

Stores the current instruction.

New cards
14

Status Bits

Flags for zero, negative, and overflow conditions.

New cards
15

Immediate Addressing

Operand is in the instruction itself.

New cards
16

Direct Addressing

Operand is at a memory address.

New cards
17

Indirect Addressing

Address points to another address.

New cards
18

Stack-relative Addressing

Operand is relative to the stack pointer.

New cards
19

Indexed Addressing

Uses index register (X) to modify address.

New cards
20

Opcode

Specifies operation.

New cards
21

Register Bit

0 for A, 1 for X.

New cards
22

Address Mode Bits

Determines operand location.

New cards
23

Operand

16 bits, if needed.

New cards
24

STOP

Opcode 0000, Hex Code 00.

New cards
25

Load Word

Opcode 1100, Hex Code C.

New cards
26

Load Byte

Opcode 1101, Hex Code D.

New cards
27

Store Word

Opcode 1110, Hex Code E.

New cards
28

Store Byte

Opcode 1111, Hex Code F.

New cards
29

Add

Opcode 0110, Hex Code 6.

New cards
30

Subtract

Opcode 0111, Hex Code 7.

New cards
31

AND

Opcode 1000, Hex Code 8.

New cards
32

OR

Opcode 1001, Hex Code 9.

New cards
33

FC15

Input character from keyboard.

New cards
34

FC16

Output character to screen.

New cards
35

D1 FC 15

Load a byte from input into A.

New cards
36

F1 FC 16

Store A byte to output.

New cards
37

E1 00 20

Store at memory `0020`.

New cards
38

C1 00 20

Load first character from memory.

New cards
39

C0 00 07

Load 7 into A.

New cards
40

60 00 08

Add 8.

New cards
41

60 00 0D

Add 13.

New cards
42

E1 00 FF

Store result at `00FF`.

New cards
43

80 03 7F

AND operation.

New cards
44

90 01 2C

OR operation.

New cards
45

LDBA

Load Byte to Accumulator.

New cards
46

LDWA

Load Word to Accumulator.

New cards
47

STBA

Store Byte from Accumulator.

New cards
48

STWA

Store Word from Accumulator.

New cards
49

STOP

Halt Program.

New cards
50

.END

Marks end of an assembly program.

New cards
51

.ASCII

Inserts ASCII characters into memory.

New cards
52

C1 48 B7

Loads memory location 48B7 into A.

New cards
53

71 00 3C

Hex command to subtract memory location 3C from A.

New cards
54

C0 00 02

Load 2 into A.

New cards
55

F1 FC 16

Print A.

New cards
robot