bryan372002

SQO Mask

5 posts in this topic

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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

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 by Andy_Gowen

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now