Year 12 RISC vs CISC

Year 12 Processor instruction set
1 / 23
suivant
Slide 1: Diapositive
ComputingHigher Education (non-degree)

Cette leçon contient 23 diapositives, avec quiz interactifs, diapositives de texte et 1 vidéo.

Éléments de cette leçon

Year 12 Processor instruction set

Slide 1 - Diapositive

What is the difference between an arithmetic and logical operations?

Slide 2 - Question ouverte

What happens in the decode part of the FDE cycle?

Slide 3 - Question ouverte

What is the difference between high and low level language?

Slide 4 - Question ouverte

The processor instruction set (often referred to as the instruction set architecture or ISA) is the collection of all the basic operations that a processor (CPU) can perform. It defines the set of instructions that the processor understands and can execute, allowing software to interact with hardware.

Slide 5 - Diapositive

The instruction set includes:

- Arithmetic operations (e.g., addition, subtraction)
-Logical operations (e.g., AND, OR, NOT)
-Data transfer operations (e.g., load, store)
- Control flow operations (e.g., jump, conditional branching)
-Comparison operations (e.g., equal, less than)
-Input/output operations (e.g., reading input, writing output)

Slide 6 - Diapositive

Give 3 examples of an instruction set

Slide 7 - Question ouverte

Anything you know about RISC or CISC?

Slide 8 - Question ouverte

Slide 9 - Vidéo

Slide 10 - Diapositive

What is an advantage of RISC over CISC architecture?

Slide 11 - Question ouverte

Instructions are broken into two parts a OPCODE and OPERAND

Slide 12 - Diapositive

Opcode (Operation Code): This is the part of the instruction that tells the processor what operation to perform. The opcode specifies the action, such as addition, subtraction, or data movement.

Slide 13 - Diapositive

Operand: The operand is the data or value that the operation will work on. It can be a number, a register, or a memory address.

Slide 14 - Diapositive

OPCODE
OPERAND
ADD
MOV
JMP
AND
SUB
 0x2000
5
R1

Slide 15 - Question de remorquage

Slide 16 - Diapositive

Slide 17 - Diapositive

Immediate addressing embeds the operand within the instruction itself, while direct addressing requires accessing the operand from a specific memory location.

Slide 18 - Diapositive

ADD R1, #5 is direct addressing?
A
true
B
false

Slide 19 - Quiz

ADD R1, [1000] is immediate addressing?
A
true
B
false

Slide 20 - Quiz

An assembler is used to translate assembly language into machine code?




A
TRUE
B
FALSE

Slide 21 - Quiz

Translators are used to translate high-level languages into machine code?





A
TRUE
B
FALSE

Slide 22 - Quiz

Load B ; Load the value of B into the accumulator
Add #5 ; Add the immediate value 5 to the accumulator (accumulator = B + 5)
Store A ; Store the result (B + 5) into memory location A

Slide 23 - Diapositive