MIOS_HLP_GetBitANDMask

I need this function to masking LED shift registers. It is exactly that what I need, but I dont know how to use.

In MIOS Functions Reference is this description:

IN  see map below

OUT 0x00 -> b’11111110’

          0x01 -> b’11111101’

          0x02 -> b’11111011’

          0x03 -> b’11110111’

          0x04 -> b’11101111’

          0x05 -> b’11011111’

          0x06 -> b’10111111’

          0x07 -> b’01111111’

Its great but which register is changed?

IN:W OUT:W ?

or register which by FSR pointer shows ?

Thanks for reply

LX

W

movlw	0x00 ; <-input
	call	MIOS_HLP_GetBitANDMask	
        ;W register now contains b'11111110'

wow quickly reply  :o

many thanks, It is perfect I need exactly this  :slight_smile:

B.R.

LX