linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Segfault on ioperm
@ 2005-01-20 13:52 joy merwin monteiro
  2005-01-20 14:58 ` Richard Cooper
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: joy merwin monteiro @ 2005-01-20 13:52 UTC (permalink / raw)
  To: linux-assembly

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-01-24  3:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-20 13:52 Segfault on ioperm joy merwin monteiro
2005-01-20 14:58 ` 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

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).