Move c,#1 -17, Move dst.<b>, #0 -17, Move dst.<b>, #1 -17 – Maxim Integrated MAXQ7666 User Manual

Page 354

Advertising
background image

MAXQ7665/MAXQ7666 User’s Guide

14-17

MOVE C, #1

Set Carry Flag

Description:

Sets the Carry (C) processor status flag.

Status Flag:

C

← 1

Operation:

C

← 1

Encoding:

15

0

Example(s):

; C = 0

MOVE C, #1

; C

← 1

MOVE dst.<b>, #0

Clear Bit

Description:

Clears the bit specified by dst.<b>.

Status Flags:

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

Operation:

dst.<b>

← 0

Encoding:

15

0

Example(s):

; M0[0] = FEh

MOVE M0[0].1, #0

; M0[0] = FCh

MOVE M0[0].7, #0

; M0[0] = 7Ch

Special Notes:

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

MOVE dst.<b>, #1

Set Bit

Description:

Sets the bit specified by dst.<b>.

Status Flags:

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

Operation:

dst.<b>

← 1

Encoding:

15

0

Example(s):

; M0[0] = 00h

MOVE M0[0].1, #1

; M0[0] = 02h

MOVE M0[0].7, #1

; M0[0] = 82h

Special Notes:

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

1101

1010

0001

1010

1ddd

dddd

0bbb

0111

1ddd

dddd

1bbb

0111

Maxim Integrated

Advertising
This manual is related to the following products: