NefMoto

Noob Zone => Noob Questions => Topic started by: Jim_Coupe on February 22, 2016, 01:55:07 AM



Title: Bits in codeword, bitnumbering MSB or LSB?
Post by: Jim_Coupe on February 22, 2016, 01:55:07 AM
Hi, When activating or deactivating bits in a Me7 codeword im uncertain which bit is bit "0" and vice verca... is Bit "0"  MSB or LSB?

 ???


Title: Re: Bits in codeword, bitnumbering MSB or LSB?
Post by: fknbrkn on February 22, 2016, 02:21:18 AM
00000001


Title: Re: Bits in codeword, bitnumbering MSB or LSB?
Post by: Jim_Coupe on February 22, 2016, 02:45:11 AM
Thanks for that,

This is my CWLAMFAW (110000) from factory.. tryin to understand it.


Title: Re: Bits in codeword, bitnumbering MSB or LSB?
Post by: ddillenger on February 22, 2016, 03:50:43 AM
76 54 32 10


Title: Re: Bits in codeword, bitnumbering MSB or LSB?
Post by: fknbrkn on February 22, 2016, 03:51:15 AM
Thanks for that,

This is my CWLAMFAW (110000) from factory.. tryin to understand it.


window calc doesnt show the zeros
your codeword is 00110000 which means bits 4 & 5 = 1
00110000
76543210


Title: Re: Bits in codeword, bitnumbering MSB or LSB?
Post by: Jim_Coupe on February 22, 2016, 04:23:54 AM
Ahh how could i forget that.. thnks !!


Title: Re: Bits in codeword, bitnumbering MSB or LSB?
Post by: nyet on February 22, 2016, 12:49:11 PM
1 << 1 = 0x01
1 << 7 = 0x80