Samsung S3C2500B User Manual page 130

Table of Contents

Advertisement

INSTRUCTION SET
Examples
ADDEQ
TEQS
SUB
MOV
MOVS
3-18
R2,R4,R5
R4,#3
R4,R5,R7,LSR R2
PC,R14
PC,R14
; If the Z flag is set make R2: = R4 + R5
; Test R4 for equality with 3.
; (The S is in fact redundant as the
; assembler inserts it automatically.)
; Logical right shift R7 by the number in
; the bottom byte of R2, subtract result
; from R5, and put the answer into R4.
; Return from subroutine.
; Return from exception and restore CPSR
; from SPSR_mode.
S3C2500B

Advertisement

Table of Contents
loading

Table of Contents