Interrupt Service Routines (ISR) are the )ortions of the program code that handle the interrupt requests. When an Interrupt is triggere i (either a hardware or software interrupt), the processor breaks away from the current task. moves the (72) to the ISR, and then continues operation. When the ISR has comr Leted, the processor retums execution to the previous location.
A.memory
B.function
C.instruction pointer D variable
第1题:
Interrupts are an important part of embedded
systems. Consequently, many compiler vendors
offer an extension to standard C to support interrupts.
Typically, the keyword is __interrupt. The following
code uses __interrupt to define an interrupt service
routine (ISR). Point out problems in the code.
__interrupt double compute_area (double radius)
{
double area = PI * radius * radius;
printf("\nArea = %f", area);
return area;
}
第2题:
第3题:
To document your code can increase program(72) and make program easier to(73).
A.reliability
B.security
C.readability
D.usability
第4题:
public class Test { public static void main (String args) { string foo = “blue”; string bar = foo; foo = “green”; System.out.printIn(bar); } } What is the result?()
第5题:
第6题:
A.517
B.B0G1
C.E1F1
D.00A8
第7题:
第8题:
● To document your code can increase program (72) and make program easier to (73).
(72)
A. reliability
B. security
C. readability
D. usability
(73)
A. execute
B. interpret
C. compile
D. maintain
第9题:
其中关于服务代码(SERVICE CODE)下面的描述是正确的?()
第10题:
public class foo { public static void main (stringargs) try {return;} finally {system.out.printIn(“Finally”);} } What is the result?()