1. Limited time only! Sign up for a free 30min personal 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!

Homework Help: 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
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook