Bit Masking and Or?


Results 1 to 5 of 5

Threaded View

  1. #1
    Join Date
    Oct 2008
    Posts
    52

    Default Bit Masking and Or?

    How do I convert from a 4 bit number such as x = 0110

    to an 8 bit number such as x = 00100110

    Do I:

    -----0110
    00001111 And
    ---------
    00000110


    00000110
    00100000 OR
    ---------
    00100110 Result



    Thanks, Don
    Last edited by dbachman; - 24th February 2009 at 05:48.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts