Advanced instructions, Advanced instruction list, Dvanced – IDEC MicroSmart User Manual

Page 211: Nstructions, Introduction

Advertising
background image

« FC4A M

ICRO

S

MART

U

SER

S

M

ANUAL

»

8-1

8: A

DVANCED

I

NSTRUCTIONS

Introduction

This chapter describes general rules of using advanced instructions, terms, data types, and formats used for advanced
instructions.

Advanced Instruction List

Group

Symbol

Name

Data Type

Qty of

Bytes

See

Page

W

I

NOP

NOP

No Operation

2

8-7

Move

MOV

Move

X

X

16

9-1

MOVN

Move Not

X

X

16

9-4

IMOV

Indirect Move

X

24 to 28

9-5

IMOVN

Indirect Move Not

X

24 to 28

9-6

BMOV

Block Move

X

18

9-7

IBMV

Indirect Bit Move

24

9-8

IBMVN

Indirect Bit Move Not

24

9-10

Data Comparison

CMP=

Compare Equal To

X

X

20

10-1

CMP<>

Compare Unequal To

X

X

20

10-1

CMP<

Compare Less Than

X

X

20

10-1

CMP>

Compare Greater Than

X

X

20

10-1

CMP<=

Compare Less Than or Equal To

X

X

20

10-1

CMP>=

Compare Greater Than or Equal To

X

X

20

10-1

ICMP>=

Inter val Compare Greater Than or Equal To

X

X

22

10-4

Binary Arithmetic

ADD

Addition

X

X

20

11-1

SUB

Subtraction

X

X

20

11-1

MUL

Multiplication

X

X

20

11-1

DIV

Division

X

X

20

11-1

ROOT

Root

X

14

11-7

Boolean
Computation

ANDW

AND Word

X

20

12-1

ORW

OR Word

X

20

12-1

XORW

Exclusive OR Word

X

20

12-1

Shift and Rotate

SFTL

Shift Left

X

12

13-1

SFTR

Shift Right

X

12

13-3

BCDLS

BCD Left Shift

X

14

13-4

WSFT

Word Shift

X

18

13-5

ROTL

Rotate Left

X

12

13-6

ROTR

Rotate Right

X

12

13-7

Advertising