Re: [Clax86list] Syscall interface



On Mon, 24 Apr 2006 14:15:47 +0100
"Thomas Worthington" <spamtrap@xxxxxxxxxx> wrote:

:I've written a Forth compiler in assembly using the old Int80 mechanism
:and I want to convert to the new system, which I'm told is faster and
:cleaner but I can't find any useful info on accessing it via AL.

I use the system call interface when programming in assembler under Linux,
and it has indeed changed a lot over the years. The number of functions is
now nearing 300, and some of the old calls have been replaced with newer
versions. However, ultimately, they are all invoked by int 80h, so I don't
understand what you are asking for. Please give me a few more clues.

-- Chuck

.



Relevant Pages

  • Re: What micros do you actually hate to work with?
    ... with less than tiny asm ... hassle to work with 32 bit longs in assembler for an 8 bit uP, ... Microchip's C compiler tools and their assembly under MPLAB. ... is that other programmers for C are easier to find. ...
    (comp.arch.embedded)
  • Re: Calling asm from C
    ... char vendorbuf; ... agree with the ABI that the assembler routine expects. ... C compiler to use a different ABI, but this is likely to be a more ... void (*fx)(int *, int *), ...
    (alt.lang.asm)
  • Re: The Promise of Forth
    ... Declare variables, declare locals, let the compiler do the work ... Forth could be considered the assembler for a simplified virtual ... If you use locals then you have to initialise them each time. ... there are likely to be libraries that could be profitably used within ...
    (comp.lang.forth)
  • Re: Is this correct..??
    ... long int i; ... Almost everthing is defined in assembler. ... Easily defeated by compiler optimisations. ... printf and that the first assignment to i is never used and decides to ...
    (comp.lang.c)
  • The never ending assembly vs. HLL war
    ... > branch instruction excluded is not particularly effective optimization. ... > CPU, chances are pretty good it *won't* be optimal on a different CPU. ... > discussing the futility of optimizing it in *assembler* when the ... careful and consider the code the compiler is emitting (and adjust your ...
    (comp.lang.asm.x86)