Computer Organization: Number Representation, Instruction Formats, Addressing Modes, and MIPS32 Architecture

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/39

flashcard set

Earn XP

Description and Tags

Comprehensive practice flashcards in fill-in-the-blank style covering binary/hexadecimal representations, signed number arithmetic (1's and 2's complement), instruction formats, addressing modes, CISC vs. RISC comparative study, and MIPS32 architecture conventions from Lectures 6 through 11.

Last updated 11:48 AM on 10/8/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

40 Terms

1
New cards

An nn-bit unsigned binary number can have 2n2^n distinct combinations, representing decimal numbers in the range from 00 to __________.

2nāˆ’12^n - 1

2
New cards

When converting the fractional part of a decimal number to binary, one repeatedly multiplies by 22 and arranges the accumulated integer parts in the __________ they are obtained.

order

3
New cards

In the hexadecimal number system, each hexadecimal digit represents a group of __________ binary digits.

44

4
New cards

In sign-magnitude representation of an nn-bit number, the most significant bit indicates sign, while the remaining __________ bits represent the magnitude.

nāˆ’1n - 1

5
New cards

The range of numbers that can be represented in sign-magnitude format using nn bits is from āˆ’(2nāˆ’1āˆ’1)-(2^{n-1} - 1) to __________.

+(2nāˆ’1āˆ’1)+(2^{n-1} - 1)

6
New cards

A known drawback of both sign-magnitude and 1's complement representations is having two representations for zero, where in 1's complement āˆ’0-0 is represented by the bit pattern __________.

111…1111\dots1

7
New cards

In 2's complement representation using nn bits, the minimum representable value is __________.

āˆ’2nāˆ’1-2^{n-1}

8
New cards

In an nn-bit 2's complement weighted number representation, the most significant bit (bnāˆ’1b_{n-1}) has a weight of __________.

āˆ’2nāˆ’1-2^{n-1}

9
New cards

In 2's complement representation, shifting a number left by kk positions with zero padding multiplies the number by __________.

2k2^k

10
New cards

In 2's complement representation, shifting right by kk positions with __________ bit padding divides the number by 2k2^k.

sign

11
New cards

Copying the sign bit as many times as required to extend the size of a 2's complement number is called __________.

sign extension

12
New cards

An instruction consists of two parts: the Operation Code (Opcode) and the __________.

operand(s)

13
New cards

In __________ addressing, the operand is part of the instruction itself, requiring no memory reference.

immediate

14
New cards

In __________ addressing, the instruction contains a field that holds the memory address of the operand, requiring exactly one memory access.

direct

15
New cards

In indirect addressing, __________ memory accesses are required to retrieve the operand value.

22

16
New cards
<p>In the diagram shown below, the offset is added to the program counter (PC) via an adder to produce the effective memory address, representing __________ addressing.</p>
<p>[figure: https://assets.knowt.com/pdf-flow-prod/8c5d6262-ec0d-40f5-bde9-0674bdc3cab2-figures/10.png]</p>

In the diagram shown below, the offset is added to the program counter (PC) via an adder to produce the effective memory address, representing __________ addressing.

[figure: https://assets.knowt.com/pdf-flow-prod/8c5d6262-ec0d-40f5-bde9-0674bdc3cab2-figures/10.png]

relative

17
New cards

In relative addressing, if a 12-bit offset is specified, it can take values ranging from āˆ’2048-2048 to __________.

+2047+2047

18
New cards
<p>In the diagram shown below, the contents of a register from the register bank are added to an offset to compute the operand address, representing __________ addressing.</p>
<p>[figure: https://assets.knowt.com/pdf-flow-prod/8c5d6262-ec0d-40f5-bde9-0674bdc3cab2-figures/11.png]</p>

In the diagram shown below, the contents of a register from the register bank are added to an offset to compute the operand address, representing __________ addressing.

[figure: https://assets.knowt.com/pdf-flow-prod/8c5d6262-ec0d-40f5-bde9-0674bdc3cab2-figures/11.png]

indexed

19
New cards

The autoincrement and autodecrement addressing modes were first introduced in the __________ computer system.

PDP-11

20
New cards

Reduced Instruction Set Computer (RISC) architectures are also known as __________ architectures because only LOAD and STORE instructions access memory.

load-store

21
New cards

The only CISC instruction set that survived over generations and remains ubiquitous in modern desktop PCs and laptops is __________.

Intel x86

22
New cards
<p>The diagram shown below illustrates the register organization of the __________ processor family.</p>
<p>[figure: https://assets.knowt.com/pdf-flow-prod/8c5d6262-ec0d-40f5-bde9-0674bdc3cab2-figures/15.png]</p>

The diagram shown below illustrates the register organization of the __________ processor family.

[figure: https://assets.knowt.com/pdf-flow-prod/8c5d6262-ec0d-40f5-bde9-0674bdc3cab2-figures/15.png]

Pentium

23
New cards

In a 1991 comparative study between the VAX 8700 and MIPS M2000, the Cycles Per Instruction (CPI) for VAX was about __________ times larger than that of MIPS.

66

24
New cards

Following the performance limitations of CISC architectures, the VAX processor was replaced by Digital Equipment Corporation (DEC) with the __________ RISC processor.

ALPHA

25
New cards

The MIPS32 ISA defines __________ general-purpose registers (GPRs), each of which is 32 bits wide.

3232

26
New cards

In MIPS32, general-purpose register __________ is hard-wired to the constant value zero.

R0R0

27
New cards

In MIPS32, general-purpose register __________ is designated to store the return address whenever a function call is executed.

R31R31

28
New cards

During an integer division in MIPS32, the quotient is placed into the LO register and the remainder is placed into the __________ register.

HI

29
New cards

In MIPS32 assembly register naming conventions, register R1R1 is known as __________ and is reserved for the assembler.

$at

30
New cards

In MIPS32 conventions, registers R4R4 through R7R7 are named $a0 through __________ and are used to pass arguments to functions.

$a3

31
New cards

Registers preserved across function calls in MIPS32 assembly are designated as $s0 through __________ (R16R16 through R23R23).

$s7

32
New cards

In MIPS32, memory alignment requires all words to begin at an address that is a multiple of 4, meaning the last two bits of the address must be __________.

00

33
New cards

In MIPS architecture, Coprocessor 0 (CP0) handles the virtual memory system and exceptions, and is formally called the __________ Coprocessor.

System Control

34
New cards

In MIPS32, the pseudo-instruction blt $s1, $s2, Label is translated into slt $at, $s1, $s2 followed by __________.

bne $at, $zero, Label

35
New cards

To load a 32-bit constant into a register, the assembler typically uses the lui instruction followed by the __________ instruction.

ori

36
New cards

In the 32-bit MIPS R-type instruction format, the 5-bit field that specifies the shift amount is named __________.

shamt

37
New cards

In the MIPS32 J-type instruction format, the jump address field is __________ bits wide.

2626

38
New cards

In SPIM system calls, the service code placed in register $v0 to print a string is __________.

44

39
New cards

In SPIM system calls, loading code 10 into register $v0 and invoking syscall performs the __________ service.

exit

40
New cards

The MIPS assembler directive that allocates memory for an ASCII string and automatically appends a null terminator is __________.

.asciiz