Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Instruction set?

Definition 13.3 High School Computer Science · Hoofdstuk 13 — The von Neumann Machine and Assembly Language

The instruction set of a processor is the list of the instructions it can execute, with their encoding in bytes and their exact effect on registers, flags and memory.

The encoding of an instruction: the first byte is 4 × operation code + r. Below, ADD R1, R2: the bytes 4 × 4 + 1 = 17 and 2.
The encoding of an instruction: the first byte is 4×operation code+r4 \times \text{operation code} + r. Below, ADD R1, R2: the bytes 4×4+1=174 \times 4 + 1 = 17 and 22.
Lees in het hoofdstuk →