全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Instruction set?

Definition 13.3 High School Computer Science · 第 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.
在原文中阅读 →