Almost every processor can do some basic arithmetic computations using the integer registers. So do ARM processors. You can ADD two registers. Let’s retake our example from the first chapter.
หน่วยประมวลผลเกือบทุกคนสามารถทำบางการคำนวณทางคณิตศาสตร์ขั้นพื้นฐานโดยใช้ลงทะเบียนจำนวนเต็ม ดังนั้นหน่วยประมวลผล ARM คุณสามารถเพิ่มสองลงทะเบียน ลองเอาตัวอย่างของเราจากบทแรก