LX Posted April 17, 2008 Report Posted April 17, 2008 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 belowOUT 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 replyLX Quote
bugfight Posted April 17, 2008 Report Posted April 17, 2008 W movlw 0x00 ; <-input call MIOS_HLP_GetBitANDMask ;W register now contains b'11111110' Quote
LX Posted April 17, 2008 Author Report Posted April 17, 2008 wow quickly reply :omany thanks, It is perfect I need exactly this :)B.R.LX Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.