Flashcards - Computer Systems Week 7 - Instruction Set and Assembly Study Set

1
Q

What is the principle of abstraction in computer systems?

A

It allows us to focus on one layer in a computer system and treat it like a black box, using its functionality without needing to understand its inner workings.

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

What does the application layer do in web browsing on a tablet?

A

It deals with the software application running at the time, such as rendering websites in a web browser.

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

What is the difference between an interface and implementation in computing?

A

An interface shows the functionality that is available, while implementation shows how that functionality is carried out.

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

How does high-level programming compare to assembly language in terms of abstraction?

A

High-level programming languages provide a large amount of abstraction from the hardware, while assembly language is machine dependent and tied to a specific instruction set.

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

What does ISA stand for in computer architecture?

A

Instruction Set Architecture.

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

What operations can a data movement instruction perform?

A

It can copy data from one location to another, such as MOVE $1000,D0.

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

What is an example of a control transfer instruction?

A

BNE LABEL - Branch to LABEL if the result is not zero.

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

What does the CPU micro-architecture refer to?

A

It refers to the internal organization of the processor including functional units and data paths.

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

What is the purpose of an instruction set in computing?

A

It defines how high-level instructions and data are mapped to the underlying hardware and memory organization.

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

What are floating-point instructions used for?

A

They are used for floating-point data movement, arithmetic, comparison, square root, and absolute value.

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

What instruction is used to load data into a register from memory?

A

Load content of memory into a register can be represented by the opcode 0002.

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

What does ‘Shift and rotate instructions’ do?

A

They perform left or right shifts and rotations of data.

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

What is the role of the operating system layer in a computer system?

A

It accepts requests from the application layer and makes requests of the hardware to fulfill those requests.

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

What could happen if a CPU has no registers according to ISA?

A

The interpretation of the ISA will treat an area of RAM as if it were the registers, resulting in slower performance.

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

Which ISA type utilizes an accumulator for operations?

A

The ‘Accumulator’ type, such as Vax.

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

What type of ISA is used by modern architectures like ARM and MIPS?

A

‘Register to Register’ type.

17
Q

What is an Assembly Language?

A

A low-level programming language that is machine dependent and tied to a specific instruction set.

18
Q

What are the components of an instruction format in an ISA?

A

Typically includes an opcode followed by operand addresses or register identifiers.

19
Q

What type of ISA is employed in x86 architectures?

A

‘Register to Memory’ type.

20
Q

What can be an effect of the interface and implementation concept in computing?

A

It allows programmers to focus on functionality while ignoring complex implementation details.

21
Q

What are bit manipulation instructions typically used for?

A

To operate on specific bit fields, such as setting or clearing a bit in a register.

22
Q

What defines the instruction set architecture of a microprocessor?

A

It standardizes instructions, machine language format, and low-level operations implemented by the micro-architecture.

23
Q

What is the effect of data types in designing an instruction set?

A

Data types influence the semantics of the instructions that can be implemented and their operations.

24
Q

What does the term ‘historic ISA types’ refer to?

A

It refers to older instruction set architectures and their specific operational models, such as stack type or accumulator type.

25
Q

What is the function of control transfer instructions in an ISA?

A

They primarily handle jumps, branches, procedure calls, and returns within the control flow of a program.