Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Bitwise & operation in bascom

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
pinkfloyd11

Bascom Member



Joined: 02 Jul 2007
Posts: 248

italy.gif
PostPosted: Fri Jan 30, 2015 1:38 pm    Post subject: Bitwise & operation in bascom Reply with quote

Hello

I should translate this: k[sum & 3] where k and sum are word type
How do it?

Thanks

(BASCOM-AVR version : 2.0.7.8 )
Back to top
View user's profile
kimmi

Moderator



Joined: 24 Feb 2006
Posts: 1922
Location: Denmark

denmark.gif
PostPosted: Fri Jan 30, 2015 4:43 pm    Post subject: Reply with quote

Code:
K = Sum And 3

_________________
/ Kim
Back to top
View user's profile Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum