Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Instruction set?

Definition 13.3 High School Computer Science · Bab 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.
Baca dalam konteks →