From: joy merwin monteiro <joy.merwin@gmail.com>
To: linux-assembly@vger.kernel.org
Subject: permission problem
Date: Sat, 20 Nov 2004 19:56:55 +0530 [thread overview]
Message-ID: <4b0d6e0d0411200626361bd414@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 429 bytes --]
Hi,
wantdd to write something to the parallel port
"windows style" but am getting a seg fault on the "out"
instruction.
any pointers?
any easy stuff on this i/o port programming in assembly available on
the net (tutorials, I mean)
I'm using nasm for assembling.
thanks in advance,
Joy.M.Monteiro
--
people always turn away,
from the eyes of a stranger...
Afraid to know
what lies behind the stare.......
--QueensRyche
[-- Attachment #2: parport.s --]
[-- Type: application/octet-stream, Size: 164 bytes --]
section .text
global _start
port equ 0x378
stat equ port+1
ctrl equ port+2
_start:
mov dx,port
mov al,0xff
out dx,al
mov eax,1
int 0x80
next reply other threads:[~2004-11-20 14:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-20 14:26 joy merwin monteiro [this message]
2004-11-20 16:42 ` permission problem Jan Wagemakers
-- strict thread matches above, loose matches on Subject: below --
2002-09-13 23:08 Daniel Barbar
2002-09-13 22:59 Da Saint
2002-09-13 22:59 Da Saint
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=4b0d6e0d0411200626361bd414@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.