Skip to Content
Raspberry Pi Assembly Language Programming: ARM Processor Coding
book

Raspberry Pi Assembly Language Programming: ARM Processor Coding

by Stephen Smith
October 2019
Intermediate to advanced
380 pages
5h 51m
English
Apress
Content preview from Raspberry Pi Assembly Language Programming: ARM Processor Coding
© Stephen Smith 2019
S. SmithRaspberry Pi Assembly Language Programminghttps://doi.org/10.1007/978-1-4842-5287-1_10

10. Multiply, Divide, and Accumulate

Stephen Smith1 
(1)
Gibsons, BC, Canada
 

In this chapter, we return to mathematics. We’ve covered addition, subtraction, and a collection of bit operations on our 32-bit registers. Now we will cover multiplication and division. The ARM processor has a surplus of multiply instructions, then a dearth of division operations.

We will cover multiply with accumulate instructions. We will provide some background on why the ARM processor has so much circuitry dedicated to performing this operation. This will get us into the mechanics of vector and matrix multiplication.

Multiplication

In Chapter 7, “Linux Operating ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

RP2040 Assembly Language Programming: ARM Cortex-M0+ on the Raspberry Pi Pico

RP2040 Assembly Language Programming: ARM Cortex-M0+ on the Raspberry Pi Pico

Stephen Smith
Learning Computer Architecture with Raspberry Pi

Learning Computer Architecture with Raspberry Pi

Eben Upton, Jeffrey Duntemann, Ralph Roberts, Tim Mamtora, Ben Everard

Publisher Resources

ISBN: 9781484252871Purchase LinkPublisher Website