Lecture 8: Logical Shifts, Addressing modes in ARM Arithmetic Data Transfer Instructions

Lecture 8:
 Logical Shifts, Addressing modes in ARM Arithmetic
 Data Transfer Instructions CSE 30: Computer Organization and Systems Programming Diba...
Author: Griffin George
150 downloads 0 Views 844KB Size
Lecture 8:
 Logical Shifts, Addressing modes in ARM Arithmetic
 Data Transfer Instructions

CSE 30: Computer Organization and Systems Programming Diba Mirza Dept. of Computer Science and Engineering University of California, San Diego

Shifts and Rotates v  LSL

– logical shift by n bits – multiplication by 2n C

v  LSR



C

– arithmetic shift by n bits – signed division by 2n …

v  ROR

0

– logical shift by n bits – unsigned division by 2n 0

v  ASR



C

– logical rotate by n bits – 32 bit rotate …

C 2

01101001

Suggest Documents