Motorola LD-W-1 User's Guide Page 13

  • Download
  • Add to my manuals
  • Print
  • Page
    / 23
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 12
System LSI Division, Semiconductor Business
V1.56a
Nov. 18
th
2005
Ext: support the ‘pragma’ that makes the fiq/irq handler without vector setting.
Syntax :
#pragma function=interrupt_fiq_novector
#pragma function=interrupt_irq_novector
Ex> making the fiq handler without vector
#pragma function=interrupt_fiq_novector
void fiq_handler(void) {
}
V1.56
Nov. 2
nd
,
2005
Fixed: When variable’s definition follows the definition of function and there is the
function’s declaration, sorting variables for the address optimization is incorrect. It
occurs only over the optimization level 1.
Ex>
#include <stdio.h>
int a0;
char c4;
void foo(void);
void main(void); // declaration
void main(void) // body of function defined before the definition of variables a2
{
a0 = 1;
c4 = 2;
foo(); // a2 = 0;
if (c4 != 2) printf("fail\n");
}
int a2; // When a variable’s definition follows the definition of function
// and there is the function’s declaration,
// sorting variables for the address optimization is incorrect.
void foo(void)
{
a2 = 0;
}
Property of Samsung Electronics Co., Ltd. 9
Page view 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 ... 22 23

Comments to this Manuals

No comments