Stanley Rice <> writes:
> Do you have to use >> operator to mimic the division if there is no
> divider operation in CPU?
No, division is not an optional language feature. The compiler
will do whatever it needs to do to generate code that produces the
correct answer.
The C division operator, like all C operators, is not defined in
terms of CPU instructions; it's defined in terms of the result it
must produce.
--
Keith Thompson (The_Other_Keith)
kst- <http://www.ghoti.net/~kst>
Will write code for food.
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"