-
Book Overview & Buying
-
Table Of Contents
Reverse Engineering Armv8-A Systems
By :
When you examine assembly instructions, you will encounter arithmetic instructions. These are fundamental for understanding assembly routines. In this section, you will learn about the following arithmetic instructions:
ADDADCSUBSBCThe arithmetic instructions in this chapter are based on the A64 instruction set in Armv8-A. Let’s start with the ADD instruction. First, we will look at its syntax.
The ADD instruction performs an addition operation. Let’s look at Figure 3.3 to learn about how the ADD instruction is organized.

Figure 3.3: The ADD instruction syntax
The ADD instruction adds data between registers. In Figure 3.3, the addition operation is performed between <Xn> and <Xm>, and the result is stored in <Xd>. Here, <Xn> is the first operand, <Xm> is the second operand, and <Xd> is the destination register. The second operand...