beautypg.com

Maxim Integrated 71M6521BE Energy Meter IC Family Software User Manual

Page 112

background image

71M652X Software User’s Guide

Revision 1.7

TERIDIAN Proprietary

112 of 138

© Copyright 2005-2007 TERIDIAN Semiconductor Corporation

Mnemonic

Description

Code

Bytes

Cycles

MOV A,Rn

Move register to accumulator

E8-EF

1

1

MOV A,direct

Move direct byte to accumulator

E5

2

2

MOV A,@Ri

Move indirect RAM to accumulator

E6-E7

1

2

MOV A,#data

Move immediate data to accumulator

74

2

2

MOV Rn,A

Move accumulator to register

F8-FF

1

2

MOV Rn,direct

Move direct byte to register

A8-AF

2

4

MOV Rn,#data

Move immediate data to register

78-7F

2

2

MOV direct,A

Move accumulator to direct byte

F5

2

3

MOV direct,Rn

Move register to direct byte

88-8F

2

3

MOV direct1,direct2

Move direct byte to direct byte

85

3

4

MOV direct,@Ri

Move indirect RAM to direct byte

86-87

2

4

MOV direct,#data

Move immediate data to direct byte

75

3

3

MOV @Ri,A

Move accumulator to indirect RAM

F6-F7

1

3

MOV @Ri,direct

Move direct byte to indirect RAM

A6-A7

2

5

MOV @Ri,#data

Move immediate data to indirect RAM

76-77

2

3

MOV DPTR,#data16

Load data pointer with a 16-bit constant

90

3

3

MOVC A,@A+DPTR

Move code byte relative to DPTR to accumulator

93

1

3

MOVC A,@A+PC

Move code byte relative to PC to accumulator

83

1

3

MOVX A,@Ri

Move external RAM (8-bit addr.) to A

E2-E3

1

3-10

MOVX A,@DPTR

Move external RAM (16-bit addr.) to A

E0

1

3-10

MOVX @Ri,A

Move A to external RAM (8-bit addr.)

F2-F3

1

4-11

MOVX @DPTR,A

Move A to external RAM (16-bit addr.)

F0

1

4-11

PUSH direct

Push direct byte onto stack

C0

2

4

POP direct

Pop direct byte from stack

D0

2

3

XCH A,Rn

Exchange register with accumulator

C8-CF

1

2

XCH A,direct

Exchange direct byte with accumulator

C5

2

3

XCH A,@Ri

Exchange indirect RAM with accumulator

C6-C7

1

3

XCHD A,@Ri

Exchange low-order nibble indirect RAM with A

D6-D7

1

3

Table 6-11: Data Transfer Operations