Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:multiasm:cs:chapter_3_4 [2025/12/02 10:54] – [Execution unit] ktokarzen:multiasm:cs:chapter_3_4 [2025/12/02 11:05] (current) – [Execution unit] ktokarz
Line 44: Line 44:
 ===== Execution unit ===== ===== Execution unit =====
  
-An execution unit, known also as the data processor, executes instructions. Typically, it is composed of a few essential elements:+An execution unit, also known as the data processor, executes instructions. Typically, it is composed of a few essential elements:
   * Arithmetic logic unit (ALU).   * Arithmetic logic unit (ALU).
   * Accumulator and set of registers,   * Accumulator and set of registers,
Line 62: Line 62:
 The flags are used as conditions for decision-making instructions (like //if// statements in some high-level languages). The flags are used as conditions for decision-making instructions (like //if// statements in some high-level languages).
 The flags register can also implement some control flags to enable/disable processor functionalities. An example of such a flag can be the Interrupt Enable flag from the 8086 microprocessor. The flags register can also implement some control flags to enable/disable processor functionalities. An example of such a flag can be the Interrupt Enable flag from the 8086 microprocessor.
 +
 +===== Registers =====
 +
 +Registers are memory elements which are placed logically and physically very close to the arithmetic logic unit. It makes them the fastest memory in the whole computer. They are sometimes called scratch registers, and the set of registers is called the register file. 
  
 As we mentioned in the chapter about CISC and RISC processors, in CISC processors, registers are specialised, including the accumulator. A typical CISC execution unit is shown in Fig {{ref>CISCexeunit}}. As we mentioned in the chapter about CISC and RISC processors, in CISC processors, registers are specialised, including the accumulator. A typical CISC execution unit is shown in Fig {{ref>CISCexeunit}}.
en/multiasm/cs/chapter_3_4.1764672897.txt.gz · Last modified: 2025/12/02 10:54 by ktokarz
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0