176x Filetype PDF File size 0.13 MB Source: apt.cs.manchester.ac.uk
MANCHEstER 1824 ARM Assembly Language Programming The Universityof Manchester ❏ Outline: ❍the ARM instruction set ❍writing simple programs ❍examples ☞hands-on: writing simple ARM assembly programs © 2005 PEVE Unit – ARM System Design ARM assembly language – v6– 1 IT MANCHEstER 1824 The ARM instruction set ❏ ARM instructions fall into three categories: The Universityof Manchester ❍data processing instructions – operate on values in registers ❍data transfer instructions – move values between memory and registers ❍control flow instructions – change the program counter (PC) © 2005 PEVE Unit – ARM System Design ARM assembly language – v6– 2 IT MANCHEstER 1824 The ARM instruction set ❏ ARM instructions fall into three categories: The Universityof Manchester ➜ data processing instructions – operate on values in registers ❍data transfer instructions – move values between memory and registers ❍control flow instructions – change the program counter (PC) © 2005 PEVE Unit – ARM System Design ARM assembly language – v6– 3 IT MANCHEstER 1824 Data processing instructions ❏ All operands are 32-bits wide and either: The Universityof Manchester ❍come from registers, or ❍are literals (‘immediate’ values) specified in the instruction ❏ The result, if any, is 32-bits wide and goes into a register ❍except long multiplies generate 64-bit results ❏ All operand and result registers are independently specified © 2005 PEVE Unit – ARM System Design ARM assembly language – v6– 4 IT
no reviews yet
Please Login to review.