Difference between revisions of "Shl"
From Lazarus wiki
Jump to navigationJump to searchLine 11: | Line 11: | ||
* [[And# Clear a bit|Clear a bit]] | * [[And# Clear a bit|Clear a bit]] | ||
+ | * [[Or# Set a bit|Set a bit]] | ||
* [[Xor# Toggle a bit|Toggle a bit]] | * [[Xor# Toggle a bit|Toggle a bit]] |
Revision as of 21:58, 25 October 2007
Shift left (shl) performs a left bit-shift operation (opposite than shr).
E.g
Command is: 00000100 shl 2 Action is: 00000100 <- 00 Result is: 00010000