# 第 2 章 - PowerPoint PPT Presentation

1 / 7

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

## 第2章

SPCE061A單晶片硬體結構

SP：堆疊指標

R1-R4：通用暫存器

BP：基底指標暫存器

SR：段暫存器

NZSC：4個旗號位元

CS：Code區段選擇器

DS：Data區段選擇器

PC：程式計數器

SHIFTER：移位器

ALU：算術邏輯單元

MUX： 資料多工選擇器

### μ’nSP™的核心結構2

• ALU 算術邏輯單元

• 16位元算術邏輯運算

• 結合算術邏輯的 16 位元移位運算

• 16×16位元的乘法運算和內積(乘加)運算

• 暫存器組

• 通用暫存器(General-purpose Registers) R1~R4

• 堆疊指標暫存器(SP, Stack Pointer)

• 基底指標暫存器(BP, Base Pointer)

• 程式計數器(PC, Program Counter)

• 狀態暫存器(SR, Status Register)

• 資料匯流排和位址匯流排

### SPCE061A 內部記憶體結構1

• SPCE061A記憶體映射表

• 堆疊

### SPCE061A 內部記憶體結構3

• 快閃記憶體Flash

• SRAM

• SFR(Special Function Register)

• 組合語言

• 指令集

• 定址模式

• C語言