Invisible <voi### [at] dev null> wrote:
> >> This only matters if you're interested in performance.
> >
> > Why else would you use assembly?
> Perhaps because you need to perform specific hardware-level operations
> that C doesn't support. (E.g., selecting a different processor mode or
> something.) There's usually a few bits of the OS written in assembly
> because they do very low-level stuff.
It's not like you need to write the entire program in assembly just
because you need to execute one asm instruction not supported by the
language. They invented inline asm for a reason.
--
- Warp
Post a reply to this message
|