1 / 7

第 2 章

第 2 章. SPCE061A 單晶片硬體結構. μ ’ nSP ™ 的核心結構 1. 使用者暫存器 SP :堆疊指標 R1-R4 :通用暫存器 BP :基底指標暫存器 SR :段暫存器 NZSC : 4 個旗號位元 CS : Code 區段選擇器 DS : Data 區段選擇器 PC :程式計數器 SHIFTER :移位器 ALU :算術邏輯單元 ADDRGEN :位址編碼器 MUX : 資料多工選擇器. μ ’ nSP ™ 的核心結構 2. ALU 算術邏輯單元 16 位元算術邏輯運算 結合算術邏輯的 16 位元移位運算

zoltan
Télécharger la présentation

第 2 章

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 第2章 SPCE061A單晶片硬體結構

  2. μ’nSP™的核心結構1 使用者暫存器 SP:堆疊指標 R1-R4:通用暫存器 BP:基底指標暫存器 SR:段暫存器 NZSC:4個旗號位元 CS:Code區段選擇器 DS:Data區段選擇器 PC:程式計數器 SHIFTER:移位器 ALU:算術邏輯單元 ADDRGEN:位址編碼器 MUX: 資料多工選擇器

  3. μ’nSP™的核心結構2 • ALU 算術邏輯單元 • 16位元算術邏輯運算 • 結合算術邏輯的 16 位元移位運算 • 16×16位元的乘法運算和內積(乘加)運算 • 暫存器組 • 通用暫存器(General-purpose Registers) R1~R4 • 堆疊指標暫存器(SP, Stack Pointer) • 基底指標暫存器(BP, Base Pointer) • 程式計數器(PC, Program Counter) • 狀態暫存器(SR, Status Register) • 資料匯流排和位址匯流排

  4. SPCE061A 內部記憶體結構1 • SPCE061A記憶體映射表

  5. SPCE061A 內部記憶體結構2 • 堆疊

  6. SPCE061A 內部記憶體結構3 • 快閃記憶體Flash • SRAM • SFR(Special Function Register)

  7. 程式設計 • 組合語言 • 指令集 • 定址模式 • C語言

More Related