| ??? 12/03/07 07:44 Read: times |
#147760 - Compiler-specific Responding to: ???'s previous message |
Jae-yong Kim said:
I have found function like below
void keyboard_interrupt() interrupt 7 using 1
{
......
}I have never seen code like above beforeThe standard 'C' programming language has no support for hardware-specific issues like interrupts. Therefore anything to do with interrupts, etc, has got to be entirely compiler-specific There was no part of code with designate keyboard_interrupt() as interrupt routine So what do you think the word "interrupt" might mean immediately after "keyboard_interrupt()"...? "using 1" seems to mean interrupt number and I have no idea what "interrupt 7" means. Because it is entirely compiler-specific, the only way to find out is to look it up in the Manual for the specific compiler. For Keil, see: http://www.keil.com/support/m...ywords.htm |
| Topic | Author | Date |
| strange code in AT89C5131 example code. | 01/01/70 00:00 | |
| Compiler-specific | 01/01/70 00:00 | |
| SIGNAL | 01/01/70 00:00 | |
Incorrect | 01/01/70 00:00 |



