From: Joe E. <jo...@em...> - 2005-03-18 22:26:13
|
Steven Schmidt wrote: > Given the following specification, what value would you find in the > two bytes 230 and 231 for HI SAMPLE NO: 306 (decimal)? > 230 - bit 7 HI START OFFSET 0:OFF, 1:ON > 230 - bit 6 HI REVERSE 0:OFF, 1:ON > 230 - bit 0-6 HI SAMPLE NO.(MSB) 00~~03E7 : 00~~999 > 231 HI SAMPLE NO.(LSB) 306 decimal is binary 100110010 I don't know what your HI START OFFSET and HI REVERSE bits are supposed to be. Also, the spec makes reference to a bit #7 *and* a bit #0, which makes me think that your patch data uses 8-bit bytes. If that true, then your bits arrange themselves as: ??000001 00110010 Which is 0x?1 0x32 If you made an error when copying the spec to your e-mail... and your patch data is actually in 7-bit bytes, then the bits are: ??00010 0110010 which would be 0x?2 0x32 - Joe |