Warehouse Stock Clearance Sale

Grab a bargain today!


Sign Up for Fishpond's Best Deals Delivered to You Every Day
Go
Raspberry Pi Assembly ­Language Programming
Arm Processor Coding

Rating
Format
Paperback, 374 pages
Published
United States, 1 October 2019

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.

Stephen Smithis a retired Software Architect, located in Gibsons, BC, Canada. He's been developing software since high-school, or way too many years to record. Since retiring he has pursued Artificial Intelligence programming, earned his Advanced HAM Radio License and enjoys mountain biking, hiking, and nature photography. He continues to write his popular technology blog at smist08.wordpress.com.


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 Flow

Conditional Statements


LoopsChapter 5: Debugging with GDB

Examining Memory and Registers


Single SteppingSetting Breakpoints

Chapter 6: Linux Operating System Services



Overview


Calling ConventionExamplesChapter 7: Programming the GPIO Pins

Introduction


Using the Linux DriverUsing Mapped MemoryChapter 8: Interacting with C and Python

Calling C Functions


Calling Assembly from CEmbedding Assembly in CCalling C/Assembly from PythonChapter 9: Floating Point Operations

Write Assembler to perform floating point calculations


Division


Data Formats


Chapter 10: The Neon Coprocessor

Explain Single Instruction Multiple Data (SIMD) programming


Examples from AI and graphics


Speed up your program.


SIMD OpCodesMatrix ExampleGraphics ExampleChapter 11: Disassembling and Reverse Engineering

GCC


GDBGhidraChapter 12: Writing to the Screen and Reading the Keyboard

The 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

Show more

Our Price
HK$378
Elsewhere
HK$514.46
Save HK$136.46 (27%)
Ships from USA Estimated delivery date: 19th May - 27th May from USA
Free Shipping Worldwide

Buy Together
+
Buy together with Rp2040 Assembly Language Programming at a great price!
Buy Together
HK$751
Elsewhere Price
HK$892.46
You Save HK$141.46 (16%)

Product Description

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.

Stephen Smithis a retired Software Architect, located in Gibsons, BC, Canada. He's been developing software since high-school, or way too many years to record. Since retiring he has pursued Artificial Intelligence programming, earned his Advanced HAM Radio License and enjoys mountain biking, hiking, and nature photography. He continues to write his popular technology blog at smist08.wordpress.com.


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 Flow

Conditional Statements


LoopsChapter 5: Debugging with GDB

Examining Memory and Registers


Single SteppingSetting Breakpoints

Chapter 6: Linux Operating System Services



Overview


Calling ConventionExamplesChapter 7: Programming the GPIO Pins

Introduction


Using the Linux DriverUsing Mapped MemoryChapter 8: Interacting with C and Python

Calling C Functions


Calling Assembly from CEmbedding Assembly in CCalling C/Assembly from PythonChapter 9: Floating Point Operations

Write Assembler to perform floating point calculations


Division


Data Formats


Chapter 10: The Neon Coprocessor

Explain Single Instruction Multiple Data (SIMD) programming


Examples from AI and graphics


Speed up your program.


SIMD OpCodesMatrix ExampleGraphics ExampleChapter 11: Disassembling and Reverse Engineering

GCC


GDBGhidraChapter 12: Writing to the Screen and Reading the Keyboard

The 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

Show more
Product Details
EAN
9781484252864
ISBN
1484252861
Publisher
Other Information
Illustrated
Dimensions
23.4 x 15.6 x 2.1 centimeters (0.50 kg)

Table of Contents

Chapter 1: Getting Started.- Chapter 2: Loading and Adding.- Chapter 3: Tooling Up.- Chapter 4: Controlling Program Flow.- Chapter 5: Thanks for the Memories.- Chapter 6: Functions and the Stack.- Chapter 7: Linux Operating System Services.- Chapter 8: Programming GPIO Pins.- Chapter 9: Interacting with C and Python.- Chapter 10: Multiply, Divide and Accumulate.- Chapter 11: Floating Point Operations.- Chapter 12: Neon Coprocessor.- Chapter 13: Conditional Instructions and Optimizing Code.- Chapter 14: Reading and Understanding Code.- Chapter 15: Thumb Code.- Chapter 16: 64-Bits.- Appendix A: The ARM Instruction Set.- Appendix B: Linux System Calls.- Appendix C: Binary Formats.- Appendix D: Assembler Directives.- Appendix E: ASCII Character Set.

About the Author

Stephen Smithis a retired Software Architect, located in Gibsons, BC, Canada. He's been developing software since high-school, or way too many years to record. Since retiring he has pursued Artificial Intelligence programming, earned his Advanced HAM Radio License and enjoys mountain biking, hiking, and nature photography. He continues to write his popular technology blog at smist08.wordpress.com.

Show more
Review this Product
Ask a Question About this Product More...
 
Look for similar items by category
Item ships from and is sold by Fishpond.com, Inc.

Back to top