This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:multiasm:paarm [2025/12/02 22:05] – eriks.klavins | en:multiasm:paarm [2026/01/09 19:03] (current) – pczekalski | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Programming in Assembler for Mobiles and ARM ====== | ====== Programming in Assembler for Mobiles and ARM ====== | ||
| - | Now, you may realise that there is more than one assembly language type. The most widely used assembly language types are ARM, MIPS, and x86. New architectures will replace old ones simply because they may have lower power consumption or smaller silicon die sizes. Another push for a new CPU architecture comes from malware that exploits its features to steal users' data. Such malware, such as “Spectre” and “Meltdown”, | ||
| Let's take a look at the mobile devices market. Mobile phones, tablets, and other devices are built on ARM processor architecture. For example, take Snapdragon SoC (System-on-Chip) designed by Qualcomm – this chip integrates a CPU based on the ARM architecture. Of course, that chip may have an additional graphics processing unit(GPU) and even a digital signal processor(DSP) for faster signal processing. Similarly, Apple A18 processors are based on ARM architecture. The only difference between all these mobile devices is the ARM version on which the processor is designed. | Let's take a look at the mobile devices market. Mobile phones, tablets, and other devices are built on ARM processor architecture. For example, take Snapdragon SoC (System-on-Chip) designed by Qualcomm – this chip integrates a CPU based on the ARM architecture. Of course, that chip may have an additional graphics processing unit(GPU) and even a digital signal processor(DSP) for faster signal processing. Similarly, Apple A18 processors are based on ARM architecture. The only difference between all these mobile devices is the ARM version on which the processor is designed. | ||
| Line 10: | Line 9: | ||
| The ARM processor “world” is huge – only through individual investigation can it be explored and its potential realised. In this book, we will present key ideas for what needs to be investigated in more depth to unlock the exact processor' | The ARM processor “world” is huge – only through individual investigation can it be explored and its potential realised. In this book, we will present key ideas for what needs to be investigated in more depth to unlock the exact processor' | ||
| - | Mobile devices tend to use Cortex-A series processors. As the instruction set is very similar to that of the Cortex series (of course, | + | Mobile devices tend to use Cortex-A series processors. As the instruction set is very similar to that of the Cortex series (with minor differences), |
| Note that ARM typically uses registers to manipulate data. There are no operations that directly manipulate data in memory. All the data must be loaded into the processor' | Note that ARM typically uses registers to manipulate data. There are no operations that directly manipulate data in memory. All the data must be loaded into the processor' | ||
| + | |||
| + | <WRAP excludefrompdf> | ||
| + | More information is presented in the following chapters: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | </ | ||