Hello,
I'm sort of n00b in assembly.

What I'm trying to do is to get the harddisk information with asm program and display it on the terminal. The environment is Fedora Core 3 linux, with NASM and I have su access to the machine. Harddisk is connected via IDE. Something like what you can get with "hdparm /dev/hda"

This is what i've gotten so far, by searching on the google and try to put together what I found there.

Section .text
global _start
_start:
mov eax, 4
xor ebx, ebx
mov ebx, 1

mov ah, 08h
mov dl, 80h

But, how would I output this to terminal?

Any kind of input would be appreciated.
Thanks in advance.