|
From: Frank K. <fbk...@co...> - 2003-12-19 19:42:07
|
E wrote: > Hello, > > I have this hello world program and it works fine > > org 100h > mov dx,msg > mov ah,9 > int 21h > mov ah,4Ch > int 21h > msg db 'Hello, World!',0Dh,0Ah,'$' > > So far I have read that int 21h is the dos service interrupt and that > because I have put the number 9 in register ah it will print the > string Hello World on the screen. Is this correct? So far, so good! > I would like to knon where I can find information about other > interrupts and what they do depending on what is in register ah. It > would be nice to have a list of all the interrupts all the number that > can be used in register ah with the interrupts. I have looked on the > Internet and I can't find a lits like that. Thanks in advance. You want Ralf Brown's Interrupt List! http://www-2.cs.cmu.edu/afs/cs/user/ralf/pub/WWW/files.html Online version at: http://www.ctyme.com/rbrown.htm IIRC, D.J.Delorie has an html version on his site, too. (delorie.com) That's very complete. If you find it intimidating, or too large a download, google for helppc21.zip - should be on Simtelnet (what's left of it). That's got commonly used interrupts and ports. As you've probably noticed, the yahoo list is pretty much "dead". You might be better off asking questions like this on the Nasm-user's list. http://sourceforge.net/mail/?group_id=6208 (that list isn't too active yet, either, but it's "up and coming"... we hope) I've cc'd this to that list - it's a "FAQ", pretty much. If and when you're ready to tackle Windows programming, join the yahoo group: http://groups.yahoo.com/group/win32-nasm-users - not much chit-chat there, either, but the "files" section is developing a *great* set of example files - Yeoh is uploading them at a rate of about one per day! Best, Frank |