beautypg.com

Maxim Integrated DS4830A Optical Microcontroller User Manual

Page 216

background image

DS4830A User’s Guide

216

MOVE C, #1

Set Carry Flag


Description:

Sets the Carry (C) processor status flag.


Status Flags:

C

 1


Operation:

C

 1


Encoding:

15

0

1101

1010

0001

1010


Example(s):

; C = 0

MOVE C, #1

; C

 1



MOVE dst., #0

Clear Bit


Description:

Clears the bit specified by dst..


Status Flags
:

C, E (if dst is PSF)


Operation:

dst.

 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


Special Notes:

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



MOVE dst., #1

Set Bit


Description:

Sets the bit specified by dst..


Status Flags
:

C, E (if dst is PSF)


Operation:

dst.

 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


Special Notes:

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