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

  • Download
  • Add to my manuals
  • Print
  • Page
    / 23
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 17
System LSI Division, Semiconductor Business
14 Property of Samsung Electronics Co., Ltd.
V1.55q
Jun. 16
th
,
2005
Fixed: When using option “-ar”, the address calculation for switch statement is
incorrect.
Fixed: If the function located in EEPROM area is declared without pragma of “eep_seg”
like the following example, the redefinition error is generated.
Ex>
void eepFunc(void);
#pragma memory=eep_seg()
void eepFunc(void) // Redefinition error should not be generated.
{ }
#pragma memory=default
Ext: When accessing the element of multi-dimensioned array, the calculation of the
access address is executed by a 16-bit operation, so improving the code density and
performance.
Ext: The option “-bigoffset” is newly added. It makes 32-bit operation instead of 16-bit
operation when calculating access address of array’s element.
V1.55f
Mar. 2
nd
,
2005
Ext: Remove setting the entry point as “_main” for the starting location of debugging.
Instead of compiler, linker will do it.
V1.55d
Feb. 18
th
,
2005
Fixed: R0 reg. is not pushed/poped in optimization level 0 in using it.
Ex>
void foo(void)
{
// When initializing local array, R0 reg. is used. So R0 reg. should be
// pushed and popped in function prolog and epilog.
char c[2] = {0x11, 0x22};
}
V1.55c
Jan. 26
th
,
2005
Fixed: Cast not applied when a pointer variable is casted “void*” to “generic int*”.
Ex>
generic char* myptr;
void foo(void)
{
// Because “myptr” casted to final type “generic int*”, the library
// call that dereferences a generic pointer should be generated.
int x = *(generic int*)(void*)myptr;
}
V1.55a
Dec. 20
th
,
2005
Fixed: Executed as a 16-bit operation when shift 4 bytes variable in both(left, right)
directions.
Ex>
unsigned char* ptr;
struct APPLE {
unsigned int weight;
} *ptr2;
void foo(void)
{
// the shift left should be executed as a 32-bit operation
ptr = ptr - ((unsigned long)ptr2->weight << 2);
}
Page view 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23

Comments to this Manuals

No comments