Flashcards for Data Representation and Basic Computer Organization (Lecture Notes)

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/60

flashcard set

Earn XP

Description and Tags

Key terms and definitions covering floating-point representation, binary codes (Gray, BCD, ASCII/EBCDIC), error-detection, memory and I/O, and the basic computer's RTL, bus, ALU, and instruction cycle.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

61 Terms

1
New cards

Mantissa

The signed fixed-point part of a floating-point number that contains the significant digits.

2
New cards

Exponent

The part of a floating-point number that designates the position of the radix point; in decimal, it indicates how many places to shift the decimal; in floating-point, the base–radix is raised to this power.

3
New cards

Fraction (mantissa in floating-point)

The mantissa portion (fixed-point) that, together with the exponent, represents the value of a floating-point number.

4
New cards

Normalization (floating-point)

A floating-point number is normalized when the most significant digit of the mantissa is nonzero; zero cannot be normalized.

5
New cards

Radix

The base of a numeral system (e.g., 10 for decimal, 2 for binary). In floating-point, the radix and the exponent position are assumed by the hardware.

6
New cards

Floating-point representation

A number is represented by a mantissa (significant) and an exponent that indicate the scale for the radix point.

7
New cards

Normalized number

A floating-point number where the leftmost digit of the mantissa is nonzero, giving maximum precision.

8
New cards

Gray code

A binary code in which successive values differ by only one bit, reducing ambiguity during transitions.

9
New cards

Reflected Binary Code (Gray code)

AGray code where the sequence is formed by reflecting the previous values; used to minimize bit changes between successive numbers.

10
New cards

Gray code counter

A counter that cycles through Gray code sequence to avoid multi-bit changes during transitions.

11
New cards

Excess-3 Gray

A Gray code sequence shifted by 3 (adding 3 to the code) to improve decimal digit transitions and reduce transitions per digit.

12
New cards

Binary-Coded Decimal (BCD)

A binary representation of decimal digits using 4 bits per digit; digits may be encoded in different variants like 8421, 2421, or Excess-3.

13
New cards

8421 code

A weighted BCD code where each digit’s 4 bits have weights 8, 4, 2, and 1.

14
New cards

2421 code

A weighted BCD code with bit weights 2, 4, 2, 1 used to form decimal digits; has self-complementing properties for some operations.

15
New cards

Excess-3 code

A decimal code in which each decimal digit is represented by its BCD value plus 3 (unweighted).

16
New cards

Self-complementing code

A code in which the 9’s complement of a decimal digit can be obtained by flipping bits (0s to 1s and 1s to 0s).

17
New cards

9's complement

The 9’s complement of a decimal number; in certain codes, it is easy to obtain by bitwise complement.

18
New cards

10's complement

The 10’s complement of a decimal number; used for subtraction in binary arithmetic.

19
New cards

ASCII

The American Standard Code for Information Interchange; a 7-bit character code (128 characters) commonly used for transmission; often with an 8th parity bit.

20
New cards

ASCII 7-bit

The standard 7-bit ASCII encoding that represents 128 characters (graphic, control, and formatting).

21
New cards

EBCDIC

Extended Binary Ccoded Interchange Code; an 8-bit IBM character code with the same characters as ASCII but different bit assignments.

22
New cards

Parity bit

An extra bit added to a binary word to enforce an odd or even number of 1s for error detection.

23
New cards

P(odd)

The parity bit that makes the total number of 1s odd in a given word.

24
New cards

P(even)

The parity bit that makes the total number of 1s even in a given word.

25
New cards

Parity generator

A circuit that computes the required parity bit for a given message.

26
New cards

Parity checker

A circuit that checks whether the received word has the correct parity according to the chosen scheme.

27
New cards

1's complement

A bitwise NOT operation yielding the bitwise negation of a binary number.

28
New cards

2's complement

A method of representing negative numbers by inverting bits and adding one to obtain the negation.

29
New cards

Full-adder

A circuit that adds two bits with a carry-in, producing a sum bit and a carry-out.

30
New cards

Binary adder

A cascade of full-adders used to add multi-bit binary numbers.

31
New cards

Adder-subtractor

A circuit that can perform addition or subtraction by controlling inputs; often uses XOR with a mode bit to flip B for subtraction.

32
New cards

Incrementer

A circuit that adds one to a binary number; can be implemented with half-adders or a counter.

33
New cards

Common bus

A shared set of wires (bus) connecting multiple registers; data is transferred via controlled selection from a subset of registers.

34
New cards

Multiplexer (MUX)

A device that selects one of several input data lines and forwards the chosen input to a single output line.

35
New cards

Three-state bus (tri-state) buffers

Buffers that can be enabled or placed in a high-impedance state to allow multiple devices to share a common bus without interference.

36
New cards

Register Transfer Language (RTL)

A symbolic notation used to describe the microoperation sequences and data transfers among registers.

37
New cards

Replacement operator

Notation like R2 <- R1 indicating the contents of R1 are transferred to R2 and the source remains unchanged.

38
New cards

Memory word (M)

A word stored in memory; the memory word located by the address in AR is denoted as M.

39
New cards

Memory read

Operation that reads a memory word into a register, e.g., DR <- M[AR].

40
New cards

Memory write

Operation that writes a register’s content to a memory location, e.g., M[AR] <- AC.

41
New cards

Memory address register (MAR)

Register that holds the memory address for the next memory operation.

42
New cards

Instruction register (IR)

Register that holds the current instruction being decoded and executed.

43
New cards

Program counter (PC)

Register that holds the address of the next instruction to be fetched.

44
New cards

Accumulator (AC)

Primary processing register used for arithmetic and logic operations.

45
New cards

Data register (DR)

Register that temporarily holds data read from memory before processing.

46
New cards

Temporary register (TR)

Register used to hold temporary data during processing.

47
New cards

Indirect addressing

Addressing mode where the operand’s address is found by first reading a pointer from memory.

48
New cards

Direct addressing

Addressing mode where the address part directly gives the memory address of the operand.

49
New cards

Effective address

The actual memory address used in a computation; for indirect addressing, it is the address found via pointer in memory.

50
New cards

Memory-reference instruction

An instruction that requires a memory operand (uses AR to reference M[AR]).

51
New cards

Register-reference instruction

An instruction that operates only on processor registers without memory reference.

52
New cards

Input-output instruction

An instruction that transfers information between I/O devices and the processor registers.

53
New cards

I bit (indirect addressing bit)

Bit in memory-reference instructions that selects indirect (I=1) vs direct (I=0) addressing.

54
New cards

Fetch–Decode–Execute cycle

The sequence of steps to fetch an instruction, decode it, perform address calculation, and execute the operation.

55
New cards

Indirect address (example concept)

An addressing step where the memory word at AR contains the address of the operand.

56
New cards

Opcode

The operation code bits in an instruction that specify which operation to perform.

57
New cards

Stored-program organization

Concept that instructions are stored in memory and executed sequentially by the processor.

58
New cards

Opcode formats (3-bit vs 16-bit codes)

Different organizations of operation codes: a 3-bit opcode for MRI and a 16-bit code for other instructions.

59
New cards

Instruction set completeness

Having a sufficient set of instructions (arithmetic, memory, I/O, control) to compute any computable function.

60
New cards

Clock cycle / timing signals

The clock-driven timing signals (T0, T1, etc.) that synchronize register transfers and microoperations.

61
New cards

Interrupt (IEN, FGI, FGO)

Mechanism to temporarily suspend the CPU to handle I/O or other events; includes interrupt enable (IEN) and flags (FGI, FGO).