Logical Shift Left And Right

Coding and general discussion relating to user created compiler modules

Moderators: David Barker, Jerry Messina

Post Reply
Widgetman
Posts: 136
Joined: Sun Dec 16, 2007 7:39 pm
Location: Florida

Logical Shift Left And Right

Post by Widgetman » Wed Jan 16, 2008 1:25 pm

Hi All,
Does anyone know how to do a Logical Shift Left or Logical Shift Right in Swordfish ?
In C it is done as a << for left and >> for right I think.

Thanks

Widgetman
Posts: 136
Joined: Sun Dec 16, 2007 7:39 pm
Location: Florida

Post by Widgetman » Wed Jan 16, 2008 1:27 pm

Never Mind I found it in the manual. I did not see the operations when I first looked. Thank GOD swordfish supports the shifts :)
I did not want to have to do any division.

Post Reply