10 bit word; MSB first; MSB at offset 1, bit 3

BIT

STREAM

Byte address

0x00

0x01

0x02

Bit number

7

6

5

4

3

2

1

0

7

6

5

4

3

2

1

0

7

6

5

4

3

2

1

0

Value (byte)

0xFF

0x16

0xE9

Value (bit)

1

1

1

1

1

1

1

1

0

0

0

1

0

1

1

0

1

1

1

0

1

0

0

1

WORD

Bit number

            

9

           

Value (word)

                        

Value (bit)

1

1

1

1

1

1

1

1

0

0

0

1

0

1

1

0

1

1

1

0

1

0

0

1

                          

10 bit word; MSB first; MSB at offset 1, bit 3; Bit stream byte address increases

BIT

STREAM

Byte address

0x00

0x01

0x02

Bit number

7

6

5

4

3

2

1

0

7

6

5

4

3

2

1

0

7

6

5

4

3

2

1

0

Value (byte)

0xFF

0x16

0xE9

Value (bit)

1

1

1

1

1

1

1

1

0

0

0

1

0

1

1

0

1

1

1

0

1

0

0

1

WORD

Bit number

            

9

8

7

6

5

4

3

2

1

0

  

Value (word)

            

0x1BA

  

Value (bit)

1

1

1

1

1

1

1

1

0

0

0

1

0

1

1

0

1

1

1

0

1

0

0

1

                          

10 bit word; MSB first; MSB at offset 1, bit 3; Bit stream byte address decreases

BIT

STREAM

Byte address

0x00

0x01

0x02

Bit number

7

6

5

4

3

2

1

0

7

6

5

4

3

2

1

0

7

6

5

4

3

2

1

0

Value (byte)

0xFF

0x16

0xE9

Value (bit)

1

1

1

1

1

1

1

1

0

0

0

1

0

1

1

0

1

1

1

0

1

0

0

1

WORD

Bit number

5

4

3

2

1

0

      

9

8

7

6

        

Value (word)

0x1BF

        

Value (bit)

1

1

1

1

1

1

1

1

0

0

0

1

0

1

1

0

1

1

1

0

1

0

0

1

                          

10 bit word; LSB first; LSB at offset 1, bit 3

BIT

STREAM

Byte address

0x00

0x01

0x02

Bit number

7

6

5

4

3

2

1

0

7

6

5

4

3

2

1

0

7

6

5

4

3

2

1

0

Value (byte)

0xFF

0x16

0xE9

Value (bit)

1

1

1

1

1

1

1

1

0

0

0

1

0

1

1

0

1

1

1

0

1

0

0

1

WORD

Bit number

            

0

           

Value (word)

                        

Value (bit)

1

1

1

1

1

1

1

1

0

0

0

1

0

1

1

0

1

1

1

0

1

0

0

1

                          

10 bit word; LSB first; LSB at offset 1, bit 3; Bit stream byte address increases

BIT

STREAM

Byte address

0x00

0x01

0x02

Bit number

7

6

5

4

3

2

1

0

7

6

5

4

3

2

1

0

7

6

5

4

3

2

1

0

Value (byte)

0xFF

0x16

0xE9

Value (bit)

1

1

1

1

1

1

1

1

0

0

0

1

0

1

1

0

1

1

1

0

1

0

0

1

WORD

Bit number

            

0

1

2

3

4

5

6

7

8

9

  

Value (word)

            

0x176

  

Value (bit)

1

1

1

1

1

1

1

1

0

0

0

1

0

1

1

0

1

1

1

0

1

0

0

1

                          

10 bit word; LSB first; LSB at offset 1, bit 3; Bit stream byte address decreases

BIT

STREAM

Byte address

0x00

0x01

0x02

Bit number

7

6

5

4

3

2

1

0

7

6

5

4

3

2

1

0

7

6

5

4

3

2

1

0

Value (byte)

0xFF

0x16

0xE9

Value (bit)

1

1

1

1

1

1

1

1

0

0

0

1

0

1

1

0

1

1

1

0

1

0

0

1

WORD

Bit number

4

5

6

7

8

9

      

0

1

2

3

        

Value (word)

0x3F6

        

Value (bit)

1

1

1

1

1

1

1

1

0

0

0

1

0

1

1

0

1

1

1

0

1

0

0

1

                          
                          

COLORS

Word MSB

                       

Word LSB

                       

Word bit

                       

Values

                        
                                   

10 bit to 16bit; Left align; Padding with Zeroes

10

BIT

Bit number

9

8

7

6

5

4

3

2

1

0

       

9

8

7

6

5

4

3

2

1

0

      

Signed value

341 (0x155)

       

-342 (0x2AA)

      

Value (bit)

0

1

0

1

0

1

0

1

0

1

       

1

0

1

0

1

0

1

0

1

0

      

16

BIT

Bit number

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

Value (word)

21824 (0x5540)

 

-21888 (0xAA80)

Value (bit)

0

1

0

1

0

1

0

1

0

1

0

0

0

0

0

0

 

1

0

1

0

1

0

1

0

1

0

0

0

0

0

0

0

                                   

10 bit to 16bit; Left align; Padding with Ones

10

BIT

Bit number

9

8

7

6

5

4

3

2

1

0

       

9

8

7

6

5

4

3

2

1

0

      

Signed value

341 (0x155)

       

-342 (0x2AA)

      

Value (bit)

0

1

0

1

0

1

0

1

0

1

       

1

0

1

0

1

0

1

0

1

0

      

16

BIT

Bit number

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

Value (word)

21887 (0x557F)

 

-21825 (0xAABF)

Value (bit)

0

1

0

1

0

1

0

1

0

1

1

1

1

1

1

1

 

1

0

1

0

1

0

1

0

1

0

1

1

1

1

1

1

                                   

10 bit to 16bit; Right align; Padding with Zeroes

10

BIT

Bit number

      

9

8

7

6

5

4

3

2

1

0

       

9

8

7

6

5

4

3

2

1

0

Signed value

      

341 (0x155)

       

-342 (0x2AA)

Value (bit)

      

0

1

0

1

0

1

0

1

0

1

       

1

0

1

0

1

0

1

0

1

0

16

BIT

Bit number

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

Value (word)

341 (0x0155)

 

682 (0x02AA)

Value (bit)

0

0

0

0

0

0

0

1

0

1

0

1

0

1

0

1

 

0

0

0

0

0

0

1

0

1

0

1

0

1

0

1

0

                                   

10 bit to 16bit; Right align; Padding with Ones

10

BIT

Bit number

      

9

8

7

6

5

4

3

2

1

0

       

9

8

7

6

5

4

3

2

1

0

Signed value

      

341 (0x155)

       

-342 (0x2AA)

Value (bit)

      

0

1

0

1

0

1

0

1

0

1

       

1

0

1

0

1

0

1

0

1

0

16

BIT

Bit number

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

Value (word)

-683 (0xFD55)

 

-342 (0xFEAA)

Value (bit)

1

1

1

1

1

1

0

1

0

1

0

1

0

1

0

1

 

1

1

1

1

1

1

1

0

1

0

1

0

1

0

1

0

                                   

10 bit to 16bit; Sign extension (implies right align)

10

BIT

Bit number

      

9

8

7

6

5

4

3

2

1

0

       

9

8

7

6

5

4

3

2

1

0

Signed value

      

341 (0x155)

       

-342 (0x2AA)

Value (bit)

      

0

1

0

1

0

1

0

1

0

1

       

1

0

1

0

1

0

1

0

1

0

16

BIT

Bit number

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

Value (word)

341 (0x0155)

 

-342 (0xFEAA)

Value (bit)

0

0

0

0

0

0

0

1

0

1

0

1

0

1

0

1

 

1

1

1

1

1

1

1

0

1

0

1

0

1

0

1

0

                                   
                                   

COLORS

Original MSB

                                

Original LSB

                                

Original bit

                                

Values

                                 

Padding bit