Click to See Complete Forum and Search --> : Hardware ports....??
AirScape17
Sep 10th, 2002, 12:40 PM
How do you access the hardware i/o port segment?? Or where is it located?? (eg: INP() / OUT() (qb)).
AirScape17
Sep 13th, 2002, 10:25 PM
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!!
newDay
Oct 1st, 2002, 03:17 PM
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/ (http://www.arl.wustl.edu/~lockwood/class/cs306/books/artofasm/Chapter_13/CH13-1.html)
:D
see u
CornedBee
Oct 3rd, 2002, 08:15 AM
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_TechDocs/Doc386/0_toc.html
AirScape17
Oct 3rd, 2002, 02:24 PM
Sorry....but....come on, they are kinda segment sized:D
CornedBee
Oct 4th, 2002, 06:44 AM
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.
newDay
Oct 4th, 2002, 12:21 PM
A segment is a block of memory, 65k large on a 16-bit cpu, 4GB on a 32-bit cpu
64k(not 65 :D ) large on a 16-bit
AirScape17
Oct 4th, 2002, 12:38 PM
There are 65,536 ports!!! That's all I ment by segment SIZED!!!!!!
CornedBee
Oct 4th, 2002, 01:41 PM
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. :p
I thought your second post could have been less accusing. We're even.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.