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
-
To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to