Re: NewQ: Difference between an isr and a subroutine is that an isrhas no arguments



James Beck wrote:

Not really an interrupt in the hardware sense since the main line code knows when they are called and actually sets up registers to pass info. BIOS calls are really just common subroutines that are in firmware.

Correct, but the op (or his tutor) did not say hardware interrupt.

Also, subroutines have an address that is resolved at compile/link time, but with a SW interrupt BIOS call, the users code has no knowledge of the address it is (finally) calling.

There are also system exception interrupts, that are slightly different again..

It's up to the OP, to present all this in a choerent assigment....

-jg


.