hi,
I want to find a source code in Assembly for 8086 that can manage multiprogramming in such way that can execute two (or more) sub programs at the same time.
My professor said that I must use an interrupt, but I could not find any interrupt. If it is possible please help me about interrupt or anything that can be helpful.
thanks for your help.
my E-mail is : hassan.ghasemi@yahoo.com
please mail your answer (help) for me.
thanks again
bye
Posted on 2008-08-09 23:06:42 by hhhassan
Ask your professor about hyperthreading on multi-cpu platforms :)

Seriously though, interrupts don't allow you to run more than one program at once, they allow you to switch between them so quickly as to appear to be doing that. And they come in two flavors.
There are IRQs (interrupt requests) which the OS services when it feels like it, and there are NMIs (non maskable interrupts) that the hardware services even before the OS has a chance to whine... these are notoriously difficult to program, as they can be 'reentrant' (the NMI can be triggered WHILE the NMI is being serviced).

Posted on 2008-08-10 02:35:07 by Homer
Have a look at IRQ 8...

And pay more attention to class ;)
Posted on 2008-08-10 10:38:19 by f0dder