ComputerCarsten

My random Sh*t

Bit-Shifting in C

C/snippets
- Carsten Fischbeck

i: ">>" on uint8_t ">>" on uint8_t ">>" on int8_t ">>" on int8_t
-12 00000000 00000000 00000000 11111111
-11 00000000 00000000 00000000 11111111
-10 00000000 00000000 00000000 11111111
-9 00000000 00000000 00000000 11111111
-8 00000000 00000000 00000000 11111111
-7 00000000 00000000 00000000 11111111
-6 00000000 00000000 00000000 11111111
-5 00000000 00000000 00000000 11111111
-4 00000000 00000000 00000000 11111111
-3 00000000 00000000 00000000 11111111
-2 00000000 00000000 00000000 11111111
-1 00000000 00000000 00000000 11111111
0 00111001 11000110 00111001 11000110
1 00011100 01100011 00011100 11100011
2 00001110 00110001 00001110 11110001
3 00000111 00011000 00000111 11111000
4 00000011 00001100 00000011 11111100
5 00000001 00000110 00000001 11111110
6 00000000 00000011 00000000 11111111
7 00000000 00000001 00000000 11111111
8 00000000 00000000 00000000 11111111
9 00000000 00000000 00000000 11111111
10 00000000 00000000 00000000 11111111
11 00000000 00000000 00000000 11111111
12 00000000 00000000 00000000 11111111

Hallo welt

Syntax Description
Header Title
Paragraph Text

H1

H2

H3

bold text

italicized text

blockquote

asdf

  1. First item
  2. Second item
  3. Third item
#define CSHIFT64_L(v, o) (( (((v)) << ((o))) | (((v)) >> (64 - ((o)))) ))

title

alt text