Chapter 4

Data processing and other instructions

Abstract

This chapter starts with a description of Operand2, then describes the data processing and special instructions in the ARM assembly language. Several short examples are given to show how they can be used.

Keywords

Operand2; Data processing; Logical operations; Data movement operations; Shift operations; Multiply operations; Division operations; PSTATE register; AArch64 instructions

The AArch64 processor provides a rich set of data processing instructions, most of which perform arithmetic or bitwise logical operations. There are also a few special instructions that are used infrequently to perform operations that are not classified as load/store, branch, or data processing.

The data processing ...

Get ARM 64-Bit Assembly Language now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.