OT: gas question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Probably it may not be the group to ask the question.
The following assembly code works on Linux on P4 but
segfaults om Solaris-10 on AMD64 box. The instruction
in question is int $0x80.

Any pointers?

-ishwar
----

       .global main

main:  movl  $1, %eax
       movl  $0, %ebx
       int   $0x80
       ret
---

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux