Table 1-12, Thumb instruction summary -15 – Epson ARM.POWERED ARM720T User Manual

Page 35

Advertising
background image

1: Introduction

ARM720T CORE CPU MANUAL

EPSON

1-15

The Thumb instruction set summary is shown in Table 1-12.

Table 1-12 Thumb instruction summary

Operation

Assembler

Move

Immediate

MOV <Rd>, #<8bit_Imm>

High to Low

MOV <Rd>, <Hs>

Low to High

MOV <Hd>, <Rs>

High to High

MOV <Hd>, <Hs>

Arithmetic

Add

ADD <Rd>, <Rs>, #<3bit_Imm>

Add Low, and Low

ADD <Rd>, <Rs>, <Rn>

Add High to Low

ADD <Rd>, <Hs>

Add Low to High

ADD <Hd>, <Rs>

Add High to High

ADD <Hd>, <Hs>

Add Immediate

ADD <Rd>, #<8bit_Imm>

Add Value to SP

ADD SP, #<7bit_Imm>
ADD SP, #-<7bit_Imm>

Add with carry

ADC <Rd>, <Rs>

Subtract

SUB <Rd>, <Rs>, <Rn>
SUB <Rd>, <Rs>, #<3bit_Imm>

Subtract Immediate

SUB <Rd>, #<8bit_Imm>

Subtract with carry

SBC <Rd>, <Rs>

Negate

NEG <Rd>, <Rs>

Multiply

MUL <Rd>, <Rs>

Compare Low, and Low

CMP <Rd>, <Rs>

Compare Low, and High

CMP <Rd>, <Hs>

Compare High, and Low

CMP <Hd>, <Rs>

Compare High, and High

CMP <Hd>, <Hs>

Compare Negative

CMN <Rd>, <Rs>

Compare Immediate

CMP <Rd>, #<8bit_Imm>

Logical

AND

AND <Rd>, <Rs>

EOR

EOR <Rd>, <Rs>

OR

ORR <Rd>, <Rs>

Bit clear

BIC <Rd>, <Rs>

Move NOT

MVN <Rd>, <Rs>

Test bits

TST <Rd>, <Rs>

Advertising