Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Low level I/O in C

16 views
Skip to first unread message

Touqir Sajed

unread,
May 3, 2013, 2:19:10 PM5/3/13
to
Is it possible to do low level memory mapped or port IO in C just like we do using IN and OUT in assembly??

Ian Collins

unread,
May 3, 2013, 5:09:29 PM5/3/13
to
Touqir Sajed wrote:
> Is it possible to do low level memory mapped or port IO in C just
> like we do using IN and OUT in assembly??

Yes.

Most device driver are written in C with little or no in line assembly code.

--
Ian Collins

Barry Schwarz

unread,
May 3, 2013, 5:53:31 PM5/3/13
to
That depends on what non-standard extensions your implementation
provides or what system specific libraries you have available.

On Fri, 3 May 2013 11:19:10 -0700 (PDT), Touqir Sajed
<shuh...@gmail.com> wrote:

>Is it possible to do low level memory mapped or port IO in C just like we do using IN and OUT in assembly??

--
Remove del for email
0 new messages