|
-
Sep 10th, 2002, 12:40 PM
#1
Thread Starter
Member
Hardware ports....??
How do you access the hardware i/o port segment?? Or where is it located?? (eg: INP() / OUT() (qb)).
-
Sep 13th, 2002, 10:25 PM
#2
Thread Starter
Member
and the correct anwser is:
in al, port ;hardware i/o port (if port > 255 then use dx)
out port, al
i'm amazed no one could anwser this for me!! i actually got help from the qbasic.com forum.
yes, a qbasic forum, a sight more helpful than THIS forum!!
-
Oct 1st, 2002, 03:17 PM
#3
Junior Member
Hi
i'm amazed no one could anwser this for me!! i actually got help from the qbasic.com forum.
as u see i'm new
Ok take this it will help u alot
http://www.arl.wustl.edu/

see u
-
Oct 3rd, 2002, 08:15 AM
#4
The main problem of this assembly forum is that few people ever visit it. I try to come here once a week, but sometimes I forget. It might well be that no one saw your post.
Also your question is confusing. What your accessing are simply hardware I/O ports, has got nothing to do with segments.
Here's a great reference to the 386 instruction set:
http://webster.cs.ucr.edu/Page_TechD...386/0_toc.html
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Oct 3rd, 2002, 02:24 PM
#5
Thread Starter
Member
Sorry....but....come on, they are kinda segment sized
-
Oct 4th, 2002, 06:44 AM
#6
Segment sized? *** are you talking about?
A segment is a block of memory, 65k large on a 16-bit cpu, 4GB on a 32-bit cpu.
A hardware i/o port is a single identifier number.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Oct 4th, 2002, 12:21 PM
#7
Junior Member
A segment is a block of memory, 65k large on a 16-bit cpu, 4GB on a 32-bit cpu
64k(not 65 ) large on a 16-bit
-
Oct 4th, 2002, 12:38 PM
#8
Thread Starter
Member
There are 65,536 ports!!! That's all I ment by segment SIZED!!!!!!
-
Oct 4th, 2002, 01:41 PM
#9
Sorry, newDay, correct, thx.
Air:
That's because a WORD (the size of the identifier) can contain the values from 0 to 65,535.
Don't take it too seriously, just mocking you. 
I thought your second post could have been less accusing. We're even.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|