beautypg.com

Maxim Integrated 71M6513H Power Meter IC Family Software User Manual

Page 107

background image

71M651x Software User’s Guide

Mnemonic

Description

Code

Bytes

Cycles

ACALL addr11

Absolute subroutine call

xxx11

2

6

LCALL addr16

Long subroutine call

12

3

6

RET

Return from subroutine

22

1

4

RETI

Return from interrupt

32

1

4

AJMP addr11

Absolute jump

xxx01

2

3

LJMP addr16

Long jump

02

3

4

SJMP rel

Short jump (relative addr.)

80

2

3

JMP @A+DPTR

Jump indirect relative to the DPTR

73

1

2

JZ rel

Jump if accumulator is zero

60

2

3

JNZ rel

Jump if accumulator is not zero

70

2

3

JC rel

Jump if carry flag is set

40

2

3

JNC

Jump if carry flag is not set

50

2

3

JB bit,rel

Jump if direct bit is set

20

3

4

JNB bit,rel

Jump if direct bit is not set

30

3

4

JBC bit,direct rel

Jump if direct bit is set and clear bit

10

3

4

CJNE A,direct rel

Compare direct byte to A and jump if not equal

B5

3

4

CJNE A,#data rel

Compare immediate to A and jump if not equal

B4

3

4

CJNE Rn,#data rel

Compare immed. to reg. and jump if not equal

B8-BF

3

4

CJNE @Ri,#data rel

Compare immed. to ind. and jump if not equal

B6-B7

3

4

DJNZ Rn,rel

Decrement register and jump if not zero

D8-DF

2

3

DJNZ direct,rel

Decrement direct byte and jump if not zero

D5

3

4

NOP

No operation

00

1

1

Table 6-11: Program Branches

Revision 2.4

TERIDIAN Proprietary

107 of 137

© Copyright 2005-2006 TERIDIAN Semiconductor Corporation