how can i know the vector of a special MCU like SST89E564RD? it provides about 15 interrupts, but how to know which vector is which interrupt?
The Datasheet will tell you the vector address, then you just look it up in the C51 Manual, here: http://www.keil.com/support/man/docs/c51/c51_le_interruptfuncs.htm
thank you very much!!!!
many datasheets will state "interrupt numbers" BEWARE. they are often not the "Keil interrupt numbers"
the "Keil interrupt number" must be calculated
(Vector_address - 3)/8 = "Keil interrupt number"
Erik
"the 'Keil interrupt number' must be calculated"
Or you can just look-up the vector address in the Manual: http://www.keil.com/support/man/docs/c51/c51_le_interruptfuncs.htm
oh well, if the calculation is too cumbersome for someone :)
anyhow the warning: many datasheets will state "interrupt numbers" BEWARE. they are often not the "Keil interrupt numbers is still valid.
many thanks to you, i have solved the problem.