SHIFTOUT syntax question
Hello.··Does BS2 code
SHIFTOUT DQ, Clock, LSBFirst, [noparse][[/noparse]WrCfg, %10]
translate in SX/B to
SHIFTOUT DQ, Clock, LSBFirst, WrCfg
SHIFTOUT DQ, Clock, LSBFirst, %10
Thanks.·
SHIFTOUT DQ, Clock, LSBFirst, [noparse][[/noparse]WrCfg, %10]
translate in SX/B to
SHIFTOUT DQ, Clock, LSBFirst, WrCfg
SHIFTOUT DQ, Clock, LSBFirst, %10
Thanks.·
Comments
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"A government big enough to give you everything you want, is big enough to take away everything you·have."·· Thomas Jefferson
"It is our choices, Harry, that show what we truly are, far more than our abilities."·Dumbledore from Harry Potter
www.iElectronicDesigns.com
·
SHIFTOUT DQ, Clock, LSBFirst, [noparse][[/noparse]%10\2] ' would only shift 2 bits
SHIFTOUT DQ, Clock, LSBFirst, [noparse][[/noparse]%10\4] ' would only shift 4 bits (zeros padded)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
1uffakind.com/robots/povBitMapBuilder.php
1uffakind.com/robots/resistorLadder.php
SHIFTOUT DQ, Clock, LSBFirst, [noparse][[/noparse]WrCfg, %10] shift out?· (WrCfg is a Byte).
Does it shift out 8 bits of WrCfg, followed by 2 bits %10?
If it sends out 2 bits for BS2, how do I simulate this in SX/B?
I am trying to convert Stampworks 28 which has the BS2 statement above and I cannot find in datasheet why the BS2 sends out %10 for the DS1620 chip.
Post Edited (JonnyMac) : 10/2/2008 2:41:56 PM GMT
%00000010
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
1uffakind.com/robots/povBitMapBuilder.php
1uffakind.com/robots/resistorLadder.php