linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: joy merwin monteiro <joy.merwin@gmail.com>
To: linux-assembly@vger.kernel.org
Subject: Segfault on ioperm
Date: Thu, 20 Jan 2005 19:22:39 +0530	[thread overview]
Message-ID: <4b0d6e0d0501200552126d8cbb@mail.gmail.com> (raw)

Hi,

I had been here before, I can't figure out why the code isnt working.

global _start

port equ 378h
stat equ port+1
ctrl equ port+2

section .text
_start:
    
    mov eax,101
    mov ebx,port
    mov ecx,3
    mov edx,port
    int 80h
    mov dx,port
    mov al,0xff
    out 378h,al  <----- segfault here
    mov eax,1
    int 0x80

Any help/ pointers?

Thanks,

Joy.M.Monteiro
-- 
people always turn away,
from the eyes of a stranger...
Afraid to know
what lies behind the stare.......
    --QueensRyche

             reply	other threads:[~2005-01-20 13:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-20 13:52 joy merwin monteiro [this message]
2005-01-20 14:58 ` Segfault on ioperm Richard Cooper
2005-01-20 15:26 ` Jan Wagemakers
2005-01-20 18:15   ` joy merwin monteiro
2005-01-20 18:40 ` Frank Kotler
2005-01-21 12:43   ` joy merwin monteiro
2005-01-21 14:29     ` Frank Kotler
2005-01-23  8:35       ` Jan Wagemakers
2005-01-23  8:17     ` Jan Wagemakers
2005-01-24  3:28       ` joy merwin monteiro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4b0d6e0d0501200552126d8cbb@mail.gmail.com \
    --to=joy.merwin@gmail.com \
    --cc=joy_mm@ieee.org \
    --cc=linux-assembly@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).