Maxim Integrated MAX31782 User Manual

Page 198

Advertising
background image



MaximIntegrated  20-15

MAX31782 User’s Guide

Revision 0; 8/11

MOVEC,#1

SetCarryFlag

Description:

Sets the Carry (C) processor status flag .

StatusFlag:

C

← 1

Operation:

C

← 1

Encoding:

15

0

1101

1010

0001

1010

Example(s):

; C = 0

MOVE C, #1

; C

← 1

MOVEdst.<b>,#0

ClearBit

Description:

Clears the bit specified by dst .<b> .

StatusFlags:

C, E (if dst is PSF), S, Z

Operation:

dst .<b>

← 0

Encoding:

15

0

1ddd

dddd

0bbb

0111

Example(s):

; M0[0] = FEh

MOVE M0[0] .1, #0

; M0[0] = FCh

MOVE M0[0] .7, #0

; M0[0] = 7Ch

SpecialNotes:

Only system module 8 and peripheral modules (0-5) are supported by MOVE dst .<b>, #0 .

MOVEdst.<b>,#1

SetBit

Description:

Sets the bit specified by dst .<b> .

StatusFlags:

C, E (if dst is PSF), S, Z

Operation:

dst .<b>

← 1

Encoding:

15

0

1ddd

dddd

1bbb

0111

Example(s):

; M0[0] = 00h

MOVE M0[0] .1, #1

; M0[0] = 02h

MOVE M0[0] .7, #1

; M0[0] = 82h

SpecialNotes:

Only system module 8 and peripheral modules (0-5) are supported by MOVE dst .<b>, #1 .

Advertising