Maxim Integrated MAX31782 User Manual

Page 197

Advertising
background image



MaximIntegrated  20-14

MAX31782 User’s Guide

Revision 0; 8/11

MOVEC,Acc.<b>

MoveAccumulatorBittoCarryFlag

Description:

Replaces the Carry (C) status flag with the specified active accumulator bit .

StatusFlags:

C

Operation:

C

← Acc .<b>

Encoding:

15

0

1110

1010

bbbb

1010

Example(s):

; Acc = 01C0h, C=0

MOVE C, Acc .8

; C =1

MOVEC,src.<b>

MoveBittoCarryFlag

Description:

Replaces the Carry (C) status flag with the specified source bit src .<b> .

StatusFlags:

C

Operation:

C

← src .<b>

Encoding:

15

0

fbbb

0111

ssss

ssss

Example(s):

; M0[0] = FEh; C=1 (assume M0[0] is an 8-bit register)

MOVE C, M0[0] .0

; C=0

MOVEC,#0

ClearCarryFlag

Description:

Clears the Carry (C) processor status flag .

StatusFlag:

C

← 0

Operation:

C

← 0

Encoding:

15

0

1101

1010

0000

1010

Example(s):

; C = 1

MOVE C, #0

; C

← 0

Advertising