Re: newbie: I/O with nasm
- From: "santosh" <santosh.k83@xxxxxxxxx>
- Date: 7 Mar 2006 22:57:25 -0800
James Daughtry wrote:
randyhyde@xxxxxxxxxxxxx wrote:
And yep, it is assembly (as opposed to C, which carries
around more run-time overhead and requirements).
Howdy, what do you use on the back-end for your library?
Randy's word will be definitive, but I believe it calls the API of the
underlying OS.
Since you say
it's assembly, does that mean you use strictly interrupts?
If you mean hardware interrupts, then no, user mode code like the HLA
stdlib isn't even allowed to do so. For Linux it calls READ and WRITE
system calls via INT 80h and for Windows, probably ReadFile() and
WriteFile()
If so, do
you provide source that I can mess around with? :-)
He provides the full source for the standard library as well as the HLA
compiler. You can find it from the following website. However the
standard library is written in HLA, so, you would need to know HLA in
order to understand it. The current compiler is written in Bison and C.
http://webster.cs.ucr.edu
.
- Follow-Ups:
- Re: newbie: I/O with nasm
- From: Frank Kotler
- Re: newbie: I/O with nasm
- References:
- newbie: I/O with nasm
- From: TK
- Re: newbie: I/O with nasm
- From: randyhyde@xxxxxxxxxxxxx
- Re: newbie: I/O with nasm
- From: James Daughtry
- newbie: I/O with nasm
- Prev by Date: Re: newbie: I/O with nasm
- Next by Date: Re: newbie: I/O with nasm
- Previous by thread: Re: newbie: I/O with nasm
- Next by thread: Re: newbie: I/O with nasm
- Index(es):
Relevant Pages
|