--- title: ASM Ch.2 --- # Assembly Language<br> Chapter 2: x86 Processor Architecture NTNU 組合語言 ##### [Back to Note Overview](https://reurl.cc/XXeYaE) ##### [Back to Assembly Language](https://hackmd.io/@NTNUCSIE112/HkSk0OxBD) ###### tags: `NTNU` `CSIE` `選修` `Assembly Language` ## Chapter Overview [TOC] ### General Concepts #### Basic microcomputer design - clock synchronizes CPU operations 時鐘同步化CPU操作 - control unit (CU) coordinates sequence of execution steps - ALU performs arithmetic and bitwise processing ![](https://i.imgur.com/OoId9g0.png) #### Clock - synchronizes all CPU and BUS operations - machine (clock) cycle measures time of a single operation - clock is used to trigger events ![](https://i.imgur.com/8YLoyYE.png) <!-- #### Instruction execution cycle --> <!-- #### Reading from memory --> <!-- #### How programs run --> ### IA-32 Processor Architecture #### Instruction Execution Cycle ![](https://i.imgur.com/qWwBskr.png) - Fetch - Decode - Fetch operands - Execute - Store output <!-- #### Reading from Memory --> <!-- #### Cache Memory --> <!-- ### IA-32 Memory Management --> <!-- ### 64-bit Processors --> <!-- ### Components of an IA-32 Microcomputer --> <!-- ### Input-Output System -->