bryan372002 Posted August 19, 2008 Report Posted August 19, 2008 Using a sequencer the mask value of "f f f h" I am kind stumped as to what the H is. example: 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 --- Bit Level 1 1 1 1 1 1 1 1 1 1 1 1 ? ? ? ? F F F H Are I looking at this all wrong?
TConnolly Posted August 20, 2008 Report Posted August 20, 2008 The H is for HEX - a notation that tell you the number is in Hex format. While FFF is obviously hex, 8431H (33841 decimal) is not so obvious without an H. A value of FFFH is 0000 1111 1111 1111 in 16 bit binary.
TimWilborne Posted August 20, 2008 Report Posted August 20, 2008 If your going for a basic SQO, chances are you have left out an "F". A mask to evaluate all values in the SQO is "FFFFh". Your mask is ignoring bits 12-15
bryan372002 Posted August 21, 2008 Author Report Posted August 21, 2008 Thanks Guys That cleared it up.
Andy_Gowen Posted May 17, 2017 Report Posted May 17, 2017 (edited) To deepen my understanding of this, say I wanted to mask bits 1,2, 6, and 10. So moving right to left, (far right being bit 0 and far left being bit 15) 1111 1011 1011 1001 Would it look like FBB9h? Edited May 17, 2017 by Andy_Gowen
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now