Skip to content

Latest commit

 

History

History
27 lines (13 loc) · 743 Bytes

File metadata and controls

27 lines (13 loc) · 743 Bytes

Question 46

Read about microcode in general and processor pipelines.

Answer

Microcode is the program code one level below assembly, that is used to encode the logic of complex instructions. It is not accessible to programmer and virtually everything about it is a trade secret of computer manufacturer.

The processor pipeline allows you to execute multiple microcode instructions at time, if they use different parts of CPU. It is a great performance booster.

This document contains a good insight on these topics: The microarchitecture of Intel, AMD and VIA CPUs: An optimization guide for assembly programmers and compiler makers

prev +++ next