1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

What is an odd byte?

  1. Feb 18, 2009 #1
    I need to write a program to count the number of odd bytes from ff00 to ffff.I need clarification on what exactly an odd byte is.Anyone know the number i should expect?

    -thanks
     
  2. jcsd
  3. Feb 18, 2009 #2

    mgb_phys

    User Avatar
    Science Advisor
    Homework Helper

    Numbers that end in 1,3,5,7,9 ?
    Hint, whats special about the last bit
     
  4. Feb 21, 2009 #3
    idk, so
    0000 0000 is even byte
    0000 0001 is odd byte
    0000 0010 is even byte
    0000 0101 is odd byte
    so even decimal numbers are even bytes and odd decimal numbers are odd bytes??If the last bit is 0, then its an even byte and if the last bit is 1 its a odd byte????

    I dont know how to interpret what you said,
     
  5. Feb 21, 2009 #4

    D H

    User Avatar
    Staff Emeritus
    Science Advisor

    or b,d,f
    Bingo!
     
  6. Feb 21, 2009 #5

    DaveC426913

    User Avatar
    Gold Member

    Yep.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook