Raspberry Pi Assembly language programming : ARM processor coding
著者
書誌事項
Raspberry Pi Assembly language programming : ARM processor coding
(Technology in action series)
Apress, c2019
- : pbk
大学図書館所蔵 件 / 全1件
-
該当する所蔵館はありません
- すべての絞り込み条件を解除する
注記
Includes bibliographical references and index
内容説明・目次
内容説明
Gain all the skills required to dive into the fundamentals of the Raspberry Pi hardware architecture and how data is stored in the Pi's memory. This book provides you with working starting points for your own projects while you develop a working knowledge of Assembly language programming on the Raspberry Pi.
You'll learn how to interface to the Pi's hardware including accessing the GPIO ports. The book will cover the basics of code optimization as well as how to inter-operate with C and Python code, so you'll develop enough background to use the official ARM reference documentation for further projects. With Raspberry Pi Assembly Language Programming as your guide you'll study how to read and reverse engineer machine code and then then apply those new skills to study code examples and take control of your Pi's hardware and software both.
What You'll Learn
Program basic ARM 32-Bit Assembly Language
Interface with the various hardware devices on the Raspberry Pi
Comprehend code containing Assembly language
Use the official ARM reference documentation
Who This Book Is For
Coders who have already learned to program in a higher-level language like Python, Java, C#, or C and now wish to learn Assembly programming.
目次
Chapter 1: Getting StartedA Bit of HistoryTools you NeedARM Assembly InstructionsThe GCC AssemblerA Very Small Example
Chapter 2: My First Working Program
Add Two Numbers
Print the ResultMakeRun the ProgramDebug the ProgramChapter 3: Basic Arithmetic Memory and Registers
Loading and Saving RegistersAddition and SubtractionMultiplication and DivisionChapter 4: Controlling Program FlowConditional Statements
LoopsChapter 5: Debugging with GDBExamining Memory and Registers
Single SteppingSetting Breakpoints
Chapter 6: Linux Operating System Services
Overview
Calling ConventionExamplesChapter 7: Programming the GPIO PinsIntroduction
Using the Linux DriverUsing Mapped MemoryChapter 8: Interacting with C and PythonCalling C Functions
Calling Assembly from CEmbedding Assembly in CCalling C/Assembly from PythonChapter 9: Floating Point OperationsWrite Assembler to perform floating point calculations
Division
Data Formats
Chapter 10: The Neon CoprocessorExplain Single Instruction Multiple Data (SIMD) programming
Examples from AI and graphics
Speed up your program.
SIMD OpCodesMatrix ExampleGraphics ExampleChapter 11: Disassembling and Reverse EngineeringGCC
GDBGhidraChapter 12: Writing to the Screen and Reading the KeyboardThe Keyboard
Screen BuffersGraphics AlgorithmsChapter 13: 64-Bits
Appendix A: The ARM Instruction Set
Appendix B: Linux Operating System ServicesAppendix C: Binary Formats of Data TypesAppendix D: Assembler Directives
「Nielsen BookData」 より