Low level topics Flashcards

1
Q

What is an opcode

A

Tha part of a instruction that states which operation should be performed

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

What is ISA

A

An Instruction Set Architecture (ISA) is part of the abstract model of a computer that defines how the CPU is controlled by the software. The ISA acts as an interface between the hardware and the software, specifying both what the processor is capable of doing as well as how it gets done.

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

What are the most used ISAs

A

x86 - 32bit (Intel 86)
x86-64 - 64 bit (AMD 64)
ARM
Power Pc

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

What are some Assembly syntax

A

NASM (Intel)
MASM (Microsoft)
AT & T (Gas)
YASM (NASM + GAS; new rewrite of NASM under BSD license)

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

What are the main three thing that modern computers can do with more instructions

A

faster versions of something you could
already do
computer security related
hardware interface related

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

What is an OISC

A

One instruccion set computer

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

Generally, what computations can computers do

A

Basic integer arithmetic
Memory access
Compare values
Change order of execution based in previous comparison

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

Basic parts of computers are

A

CPU (Processor)
Working memory
Permanent storage
System bus
Peripherals

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

What is the front bus

A

Bus with the shortest path to the main working memory (so often called RAM)

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

Bit is the short form of

A

Binary digit

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

What does mean that a CPU has an 64 architecture

A

That the system can naturally make operations with 64bits data with one instruction, it does not mean that computers with lower architecture cannot perform operations of numbers with 64bits, but it takes more instructions.

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

Data in memory for audio and text, is diferent?

A

The whole data indeed is different since has specific information, but every bit is not different of any other byte in memory.

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

Modern computers have groups of bits by sizes, such as

A

1 byte (8 bits): Typically just referred to as a byte
2 bytes (16 bits): Known as a “word” or a “short”
4 bytes (32 bits): Known as a “double-word” or an “int”
8 bytes (64 bits): Known as a “quadword or long”

But this depends on the system, sometimes 4 bytes are referred as long and 8 bytes as long long.

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

CPU parts

A

Registers
Control Unit
ALU
Memory management unit
Caches

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

What is the role of control unit

A

The control unit sets the pacing for the chip. It handles the coordination of all the
different parts of the chip. It handles the clock, which doesn’t tell time, but is more like a
drum beat or a pacemaker—it makes sure that everything operates at the same speed.

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

What is the role of the ALU

A

The arithmetic and logic unit (ALU) is where the actual processing takes place. It
does the additions, subtractions, comparisons, etc. The ALU is normally wired so that basic
operations can be done with registers extremely quickly (typically in a single clock cycle).

17
Q

What is the role of cache

A

There are different types of cache, but essentially their role is to save pieces of data that are needed multiple times or is for certain that are going to be accessed next in instructions or by several instructions, so in order to avoid requesting that data from memory, is faster to get it from cache storage.