Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Instruction set?

Definition 13.3 High School Computer Science · Capítulo 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.
Ler no capítulo →