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!

Assembly lang

  1. May 15, 2004 #1


    User Avatar

    most 8-bit microproc. donot contain a * or /
    can some offer some help on how i can use a shift instruction
    to do this
  2. jcsd
  3. May 15, 2004 #2


    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    bitshifting to the left acts as a multiplication by 2
    bitshifting to the right acts as a division by 2
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?