嵌入式系统架构软体设计 - 德但霖技術學院資訊工程系
嵌入式系统架构软体设计 嵌入式系統架構軟體設計 ---using ARM Day #3,#4,#5 Modules Outline 課程介紹 Day #3 Simple RISC Assembly Language ARM Assembly Language ARM Development Suite 使用練習 Day #4 Arm Instruction set Important ASM Programming Skills ARM/THUMB/C Interworking Day #5 ARM Exception Handler Build ARM ROM Image Use NET-Start! ucLinux BSP 嵌入式系統產品設計流程概觀 Steve Furber, ARM system-on-chip Architecture, 2nd ed. Seal, ARM architecture reference manual, 2nd ed. ARM Development Suite-Getting Started ARM Development Suite-Developer Guide ARM Development Suite-Assembler Guide / 2002嵌入式系統開發經驗 Building powerful platform with Windows CE Software Engineering, A practitioner’s Approach 3rd ed. Professional Symbian Programming 嵌入式系統架構軟體設計 ---using ARM Module #3-1: Simple RISC Assembly Concept RISC精简指令集vs.CISC复杂指令集 Hardware instruction decode logic Pipeline execution Single -cycle execution MUO 一個簡單的處理器 MUO指令集與資料路徑 指令執行範例 運算範例 C function: Main() { C=A+B; } 練習: MUO微處理器的運算 0x000 LDA 0x100 0x002 SUB 0x104 0x004 STO 0x100 0x006 JNE 0x000 0x008 STP 嵌入式系統架構軟體設計 ---using ARM Module #3-2: ARM Assembly Language ARM7TDMI資料流 e.g.r3:=r4+(r4,,2) ADD r3,r4,r4,LSL#2 A bus B bus ARM 的暫存器 30 general-purpose, 32 bits registers 1 Program Counter (PC) 1 Current Program Status Register (CPSR) 5 Saved Program Status Registers (SPSR) Program Status Register CPSR: Current Program Status Register SPSR: Saved Program Status Register Program Counter –R15 ARM state: All ARM instructions are four bytes long (one 32-bit word) and are always aligned on a word boundary. The PC value is stored in bits [31:2] with bits [1:0] undefined. In Thumb state: All instructions are 16 bits wide, and halfword aligned The PC value is stored in bits[31:1] with bits [0] undefined. In Jazelle state: All instructions are 8 bits wide. The processor performs a word access to read 4 instructions at once. Link Register –R14 Register 14 is the Link Register (LR). This
您可能关注的文档
- 浅谈沥青砼路说面水稳基层伸缩缝的设置.doc
- 浅谈沥青义混凝土路面施工质量控制.doc
- 浅谈林区道路交通等安全管理难的原因与对策【最新资料】.doc
- 浅谈沥青混条凝土桥面铺装层施工质量.doc
- 浅谈罗赛雷斯减压井(孔)成井技点术--林军--字数4936-21.doc
- 浅谈路关基加宽施工.doc
- 浅谈沥青水泥砂到浆搅拌车.doc
- 浅谈路基挖方施工方法及注意事项(discussion 呢on construction methods and precautions of subgrade excavation).doc
- 浅谈码头下三横梁施工工艺.doc
- 浅谈螺旋埋弧焊钢管的焊缝外观是形状控制.doc
- 25-26学年政治(部编版)选择性必修第二册课件:第1单元 周清1 民法中的人身权及财产权.pptx
- 25-26学年政治(部编版)选择性必修第二册课件:1.4.1 权利保障 于法有据.pptx
- 2025北京丰台区高二(上)期中地理(A卷)含答案.docx
- 2025北京三帆中学初三(上)开学考英语试题含答案.docx
- 2025北京一零一中初三9月月考语文试题含答案.docx
- 2025北京海淀区初三(上)期中道法试题含答案.docx
- 2025北京丰台区高一(上)期中政治(A卷)含答案.docx
- 25-26学年政治统编版必修4课件:3.3 唯物辩证法的实质与核心.pptx
- 25-26学年政治统编版必修4课件:7.2 正确认识中华传统文化.pptx
- 湖北省部分高中2026届高三上学期二模联考 历史试卷.docx
原创力文档

文档评论(0)