## XLINK Map File for "C:\Users\agupta50\Desktop\Embedded\Shobhit-Project\untouched cc2530 znp\CC2530ZNP\CC2530ZNP Mini Kit\ZNP Examples\IAR\Debug\Exe\Reading Light Sensor"

### IAR Universal Linker V5.7.0.39

#### Copyright (C) 1987-2013 IAR Systems AB.

Invocation Program Entry Module Map Module Summary Segment Map Memory Summary

Link time | 21/Dec/2013 12:56:43
Target CPU | MSP430
List file | "C:\Users\agupta50\Desktop\Embedded\Shobhit-Project\untouched cc2530 znp\CC2530ZNP\CC2530ZNP Mini Kit\ZNP Examples\IAR\Debug\List\Reading Light Sensor.html"
Output file 1 | "C:\Users\agupta50\Desktop\Embedded\Shobhit-Project\untouched cc2530 znp\CC2530ZNP\CC2530ZNP Mini Kit\ZNP Examples\IAR\Debug\Exe\Reading Light Sensor.d43"
| Format: debug
| UBROF version 10.0.6
| Using library modules for C-SPY (-rt)
Command line | `"C:\Users\agupta50\Desktop\Embedded\Shobhit-Project\untouched cc2530 znp\CC2530ZNP\CC2530ZNP Mini Kit\ZNP Examples\IAR\Debug\Obj\example_read_light_sensor.r43" "C:\Users\agupta50\Desktop\Embedded\Shobhit-Project\untouched cc2530 znp\CC2530ZNP\CC2530ZNP Mini Kit\ZNP Examples\IAR\Debug\Obj\hal_cc2530znp_target_board.r43" "C:\Users\agupta50\Desktop\Embedded\Shobhit-Project\untouched cc2530 znp\CC2530ZNP\CC2530ZNP Mini Kit\ZNP Examples\IAR\Debug\Obj\printf.r43" -o "C:\Users\agupta50\Desktop\Embedded\Shobhit-Project\untouched cc2530 znp\CC2530ZNP\CC2530ZNP Mini Kit\ZNP Examples\IAR\Debug\Exe\Reading Light Sensor.d43" -l "C:\Users\agupta50\Desktop\Embedded\Shobhit-Project\untouched cc2530 znp\CC2530ZNP\CC2530ZNP Mini Kit\ZNP Examples\IAR\Debug\List\Reading Light Sensor.html" -xmsnh "-"C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.5\430\LIB\" -f "C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.5\430\CONFIG\lnk430F2274.xcl" ( -cmsp430 -QCODE_I=CODE_ID -QTLS16_I=TLS16_ID -Z(DATA)DATA16_I,DATA16_Z,DATA16_N,TLS16_I,DATA16_HEAP+_DATA16_HEAP_SIZE=0200-05FF -Z(DATA)CODE_I -Z(DATA)CSTACK+_STACK_SIZE# -Z(CONST)INFO=1000-10FF -Z(CONST)INFOA=10C0-10FF -Z(CONST)INFOB=1080-10BF -Z(CONST)INFOC=1040-107F -Z(CONST)INFOD=1000-103F -Z(CONST)DATA16_C,DATA16_ID,TLS16_ID,DIFUNCT,CHECKSUM=8000-FFDF -Z(CODE)CSTART,ISR_CODE,CODE_ID=8000-FFDF -P(CODE)CODE=8000-FFDF -Z(CODE)INTVEC=FFE0-FFFF -Z(CODE)RESET=FFFE-FFFF ) -D_STACK_SIZE=50 -rt "C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.5\430\LIB\DLIB\dl430fn.r43" -e_PrintfSmall=_Printf -e_ScanfSmall=_Scanf -D_DATA16_HEAP_SIZE=50 -s __program_start -D_DATA20_HEAP_SIZE=50`

Program entry at : 8102 Relocatable, from module : ?cstart

Runtime Model
Attribute | Value
--- | ---
__Heap_Handler | Basic
__SystemLibrary | DLib
__core | 430
__dlib_file_descriptor | 0
__dlib_full_locale_support | 0
__double_size | 32
__pic | no
__reg_r4 | free
__reg_r5 | free
__rt_version | 3

## Automatic Symbol Redirections

There are no automatic symbol redirections.

Module Map
File | Module | Segment | Symbol | Address | Ref by
--- | --- | --- | --- | --- | ---
| ?ABS_ENTRY_MOD Program module | Absolute parts | _DATA20_HEAP_SIZE | 0050 | -
_DATA16_HEAP_SIZE | 0050 | -
_STACK_SIZE | 0050 | -
C:\Users\agupta50\Desktop\Embedded\Shobhit-Project\untouched cc2530 znp\CC2530ZNP\CC2530ZNP Mini Kit\ZNP Examples\IAR\Debug\Obj\example_read_light_sensor.r43 | example_read_light_sensor Program module | <CODE> 1 Relative segment 836E - 83AD Segment part 4. | main calls direct CSTACK = 00000000 ( 00000008 ) | 836E | Segment part 17 (?cstart)
DATA16_C Relative segment 80BC - 80DA Segment part 2. | Intra module refs |  | main
DATA16_C Relative segment 80DB - 8100 Segment part 3. | Intra module refs |  | main
C:\Users\agupta50\Desktop\Embedded\Shobhit-Project\untouched cc2530 znp\CC2530ZNP\CC2530ZNP Mini Kit\ZNP Examples\IAR\Debug\Obj\hal_cc2530znp_target_board.r43 | hal_cc2530znp_target_board Program module | DATA16_AN Relative segment 0001 - 0001 Segment part 1. ROOT. | Intra module refs |  | halInit
IE2 | 0001 | -
DATA16_AN Relative segment 0003 - 0003 Segment part 2. ROOT. | Intra module refs |  | USCIAB0RX_ISR putchar
IFG2 | 0003 | -
DATA16_AN Relative segment 004A - 004A Segment part 3. ROOT. | Intra module refs |  | getLightSensor
ADC10AE0 | 004A | -
DATA16_AN Relative segment 01B0 - 01B1 Segment part 4. ROOT. | Intra module refs |  | getLightSensor getVcc3
ADC10CTL0 | 01B0 | -
DATA16_AN Relative segment 01B2 - 01B3 Segment part 5. ROOT. | Intra module refs |  | getLightSensor getVcc3
ADC10CTL1 | 01B2 | -
DATA16_AN Relative segment 01B4 - 01B5 Segment part 6. ROOT. | Intra module refs |  | getLightSensor getVcc3
ADC10MEM | 01B4 | -
DATA16_AN Relative segment 0056 - 0056 Segment part 7. ROOT. | Intra module refs |  | halInit
DCOCTL | 0056 | -
DATA16_AN Relative segment 0057 - 0057 Segment part 8. ROOT. | Intra module refs |  | halInit
BCSCTL1 | 0057 | -
DATA16_AN Relative segment 0058 - 0058 Segment part 9. ROOT. | Intra module refs |  | halInit
BCSCTL2 | 0058 | -
DATA16_AN Relative segment 0053 - 0053 Segment part 10. ROOT. | Intra module refs |  | halInit
BCSCTL3 | 0053 | -
DATA16_AN Relative segment 0021 - 0021 Segment part 11. ROOT. | Intra module refs |  | clearLeds halInit toggleLed
P1OUT | 0021 | -
DATA16_AN Relative segment 0022 - 0022 Segment part 12. ROOT. | Intra module refs |  | halInit
P1DIR | 0022 | -
DATA16_AN Relative segment 0023 - 0023 Segment part 13. ROOT. | Intra module refs |  | PORT1_ISR halInit
P1IFG | 0023 | -
DATA16_AN Relative segment 0024 - 0024 Segment part 14. ROOT. | Intra module refs |  | halInit
P1IES | 0024 | -
DATA16_AN Relative segment 0025 - 0025 Segment part 15. ROOT. | Intra module refs |  | halInit
P1IE | 0025 | -
DATA16_AN Relative segment 0026 - 0026 Segment part 16. ROOT. | Intra module refs |  | halInit
P1SEL | 0026 | -
DATA16_AN Relative segment 0027 - 0027 Segment part 17. ROOT. | Intra module refs |  | halInit
P1REN | 0027 | -
DATA16_AN Relative segment 0029 - 0029 Segment part 18. ROOT. | Intra module refs |  | getLightSensor halInit
P2OUT | 0029 | -
DATA16_AN Relative segment 002A - 002A Segment part 19. ROOT. | Intra module refs |  | halInit
P2DIR | 002A | -
DATA16_AN Relative segment 002B - 002B Segment part 20. ROOT. | Intra module refs |  | PORT2_ISR
P2IFG | 002B | -
DATA16_AN Relative segment 002C - 002C Segment part 21. ROOT. | P2IES | 002C | -
DATA16_AN Relative segment 002D - 002D Segment part 22. ROOT. | P2IE | 002D | -
DATA16_AN Relative segment 002E - 002E Segment part 23. ROOT. | Intra module refs |  | halInit
P2SEL | 002E | -
DATA16_AN Relative segment 002F - 002F Segment part 24. ROOT. | P2REN | 002F | -
DATA16_AN Relative segment 0019 - 0019 Segment part 25. ROOT. | Intra module refs |  | halInit
P3OUT | 0019 | -
DATA16_AN Relative segment 001A - 001A Segment part 26. ROOT. | Intra module refs |  | halInit
P3DIR | 001A | -
DATA16_AN Relative segment 001B - 001B Segment part 27. ROOT. | Intra module refs |  | halInit
P3SEL | 001B | -
DATA16_AN Relative segment 001D - 001D Segment part 28. ROOT. | Intra module refs |  | halInit
P4OUT | 001D | -
DATA16_AN Relative segment 001E - 001E Segment part 29. ROOT. | Intra module refs |  | halInit
P4DIR | 001E | -
DATA16_AN Relative segment 001F - 001F Segment part 30. ROOT. | Intra module refs |  | halInit
P4SEL | 001F | -
DATA16_AN Relative segment 0011 - 0011 Segment part 31. ROOT. | P4REN | 0011 | -
DATA16_AN Relative segment 0160 - 0161 Segment part 32. ROOT. | Intra module refs |  | halInit
TACTL | 0160 | -
DATA16_AN Relative segment 0162 - 0163 Segment part 33. ROOT. | TACCTL0 | 0162 | -
DATA16_AN Relative segment 0166 - 0167 Segment part 34. ROOT. | TACCTL2 | 0166 | -
DATA16_AN Relative segment 0172 - 0173 Segment part 35. ROOT. | TACCR0 | 0172 | -
DATA16_AN Relative segment 0176 - 0177 Segment part 36. ROOT. | TACCR2 | 0176 | -
DATA16_AN Relative segment 0061 - 0061 Segment part 37. ROOT. | Intra module refs |  | halInit
UCA0CTL1 | 0061 | -
DATA16_AN Relative segment 0062 - 0062 Segment part 38. ROOT. | Intra module refs |  | halInit
UCA0BR0 | 0062 | -
DATA16_AN Relative segment 0063 - 0063 Segment part 39. ROOT. | Intra module refs |  | halInit
UCA0BR1 | 0063 | -
DATA16_AN Relative segment 0064 - 0064 Segment part 40. ROOT. | Intra module refs |  | halInit
UCA0MCTL | 0064 | -
DATA16_AN Relative segment 0066 - 0066 Segment part 41. ROOT. | Intra module refs |  | USCIAB0RX_ISR
UCA0RXBUF | 0066 | -
DATA16_AN Relative segment 0067 - 0067 Segment part 42. ROOT. | Intra module refs |  | putchar
UCA0TXBUF | 0067 | -
DATA16_AN Relative segment 0068 - 0068 Segment part 43. ROOT. | UCB0CTL0 | 0068 | -
DATA16_AN Relative segment 0069 - 0069 Segment part 44. ROOT. | UCB0CTL1 | 0069 | -
DATA16_AN Relative segment 006A - 006A Segment part 45. ROOT. | UCB0BR0 | 006A | -
DATA16_AN Relative segment 006B - 006B Segment part 46. ROOT. | UCB0BR1 | 006B | -
DATA16_AN Relative segment 006E - 006E Segment part 47. ROOT. | UCB0RXBUF | 006E | -
DATA16_AN Relative segment 006F - 006F Segment part 48. ROOT. | UCB0TXBUF | 006F | -
DATA16_AN Relative segment 0120 - 0121 Segment part 49. ROOT. | Intra module refs |  | halInit
WDTCTL | 0120 | -
DATA16_AN Relative segment 10FC - 10FC Segment part 50. ROOT. | Intra module refs |  | halInit
CALDCO_8MHZ | 10FC | -
DATA16_AN Relative segment 10FD - 10FD Segment part 51. ROOT. | Intra module refs |  | halInit
CALBC1_8MHZ | 10FD | -
DATA16_C Relative segment 8000 - 80BB Segment part 57. | Intra module refs |  | convertAdcToLux
adcToLuxLookupTable | 8000 | -
<CODE> 1 Relative segment 84D0 - 84F1 Segment part 88. | Intra module refs |  | getLightSensor
convertAdcToLux CSTACK = 00000000 ( 00000002 ) | 84D0 | -
DATA16_Z Relative segment 0200 - 0201 Segment part 58. | Intra module refs |  | USCIAB0RX_ISR
debugConsoleIsr | 0200 | -
DATA16_Z Relative segment 0202 - 0203 Segment part 59. | Intra module refs |  | PORT1_ISR
buttonIsr | 0202 | -
DATA16_Z Relative segment 0204 - 0205 Segment part 60. | Intra module refs |  | Timer_A
timerIsr | 0204 | -
DATA16_Z Relative segment 0206 - 0207 Segment part 61. | Intra module refs |  | PORT1_ISR
accelerometerIsr | 0206 | -
DATA16_Z Relative segment 0208 - 0209 Segment part 62. | Intra module refs |  | PORT2_ISR
srdyIsr | 0208 | -
DATA16_Z Relative segment 020A - 020B Segment part 63. | Intra module refs |  | PORT1_ISR PORT2_ISR Timer_A
wakeupFlags | 020A | -
<CODE> 1 Relative segment 8536 - 8555 Segment part 87. | Intra module refs |  | USCIAB0RX_ISR::??INTVEC 14
USCIAB0RX_ISR interrupt function calls indirect CSTACK = 00000000 ( 0000000C ) | 8536 | -
<CODE> 1 Relative segment 83AE - 83E3 Segment part 86. | Intra module refs |  | PORT1_ISR::??INTVEC 4
PORT1_ISR interrupt function calls indirect CSTACK = 00000000 ( 0000000C ) | 83AE | -
<CODE> 1 Relative segment 8476 - 84A3 Segment part 85. | Intra module refs |  | PORT2_ISR::??INTVEC 6
PORT2_ISR interrupt function calls indirect CSTACK = 00000000 ( 0000000C ) | 8476 | -
<CODE> 1 Relative segment 82C4 - 836D Segment part 84. | halInit calls direct CSTACK = 00000000 ( 00000002 ) | 82C4 | main (example_read_light_sensor)
<CODE> 1 Relative segment 85F2 - 85FD Segment part 82. | putchar CSTACK = 00000000 ( 00000002 ) | 85F2 | tfp_printf (printf)
<CODE> 1 Relative segment 856E - 8585 Segment part 79. | Intra module refs |  | getLightSensor getVcc3
delayMs CSTACK = 00000000 ( 00000002 ) | 856E | main (example_read_light_sensor)
<CODE> 1 Relative segment 85FE - 8605 Segment part 76. | Intra module refs |  | halInit
clearLeds CSTACK = 00000000 ( 00000002 ) | 85FE | -
<CODE> 1 Relative segment 8586 - 859D Segment part 75. | toggleLed CSTACK = 00000000 ( 00000002 ) | 8586 | main (example_read_light_sensor)
<CODE> 1 Relative segment 83E4 - 8415 Segment part 74. | getVcc3 calls direct CSTACK = 00000000 ( 00000002 ) | 83E4 | main (example_read_light_sensor)
<CODE> 1 Relative segment 8416 - 8445 Segment part 73. | getLightSensor calls direct CSTACK = 00000000 ( 00000002 ) | 8416 | main (example_read_light_sensor)
<CODE> 1 Relative segment 84F2 - 8513 Segment part 66. | Intra module refs |  | Timer_A::??INTVEC 18
Timer_A interrupt function calls indirect CSTACK = 00000000 ( 0000000C ) | 84F2 | -
INTVEC Common segment FFE0 - FFE5 Segment part 52. ROOT. | PORT1_ISR::??INTVEC 4 | FFE4 | -
INTVEC Common segment FFE0 - FFE7 Segment part 53. ROOT. | PORT2_ISR::??INTVEC 6 | FFE6 | -
INTVEC Common segment FFE0 - FFEF Segment part 54. ROOT. | USCIAB0RX_ISR::??INTVEC 14 | FFEE | -
INTVEC Common segment FFE0 - FFF3 Segment part 55. ROOT. | Timer_A::??INTVEC 18 | FFF2 | -
C:\Users\agupta50\Desktop\Embedded\Shobhit-Project\untouched cc2530 znp\CC2530ZNP\CC2530ZNP Mini Kit\ZNP Examples\IAR\Debug\Obj\printf.r43 | printf Program module | DATA16_Z Relative segment 020C - 020D Segment part 2. | Intra module refs |  | out tfp_printf
bf | 020C
DATA16_Z Relative segment 0210 - 021B Segment part 3. | Intra module refs |  | tfp_printf
buf | 0210
DATA16_Z Relative segment 020E - 020F Segment part 4. | Intra module refs |  | divOut tfp_printf
num | 020E
DATA16_Z Relative segment 021C - 021C Segment part 5. | Intra module refs |  | outDgt tfp_printf
uc | 021C
DATA16_Z Relative segment 021D - 021D Segment part 6. | Intra module refs |  | divOut outDgt tfp_printf
zs | 021D
<CODE> 1 Relative segment 85D8 - 85E5 Segment part 10. | Intra module refs |  | outDgt tfp_printf
out CSTACK = 00000000 ( 00000002 ) | 85D8
<CODE> 1 Relative segment 84A4 - 84CF Segment part 9. | Intra module refs |  | divOut tfp_printf
outDgt calls direct CSTACK = 00000000 ( 00000002 ) | 84A4
<CODE> 1 Relative segment 8514 - 8535 Segment part 8. | Intra module refs |  | tfp_printf
divOut calls direct CSTACK = 00000000 ( 00000002 ) | 8514
<CODE> 1 Relative segment 811A - 82C3 Segment part 7. | tfp_printf calls direct CSTACK = 00000000 ( 0000000E ) | 811A | main (example_read_light_sensor)
C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.5\430\LIB\DLIB\dl430fn.r43 | ?__dbg_break Library module | <CODE> 1 Relative segment 860E - 860F Segment part 2. | __DebugBreak | 860E | __exit (?__exit)
?__exit Library module | <CODE> 1 Relative segment 859E - 85B3 Segment part 2. | __exit calls direct | 859E | Segment part 6 (?_exit) _exit (?_exit)
?_exit Library module | <CODE> 1 Relative segment 860A Segment part 0. | _exit | 860A | exit (?exit)
<CODE> 1 Relative segment 860A - 860D Segment part 6. | Intra module refs |  | _exit
?cstart Library module | CSTACK Relative segment 05B0 Segment part 1.
DATA16_Z Relative segment 0210 Segment part 2.
CSTART Relative segment 8102 - 8105 Segment part 9. | __program_start | 8102 | ?reset_vector (?reset_vector) Absolute parts (?ABS_ENTRY_MOD)
?cstart_begin | 8102 | -
CSTART Relative segment 8106 - 8111 Segment part 12. | ?cstart_init_zero | 8106 | accelerometerIsr (hal_cc2530znp_target_board) bf (printf) buf (printf) buttonIsr (hal_cc2530znp_target_board) debugConsoleIsr (hal_cc2530znp_target_board) num (printf) srdyIsr (hal_cc2530znp_target_board) timerIsr (hal_cc2530znp_target_board) uc (printf) wakeupFlags (hal_cc2530znp_target_board) zs (printf)
CSTART Relative segment 8112 - 8119 Segment part 17. | Intra module refs |  | Segment part 9
?cstart_call_main | 8112 | -
?cstart_end | 811A | -
?reset_vector Library module | RESET Relative segment FFFE - FFFF Segment part 0. | ?reset_vector | FFFE | Segment part 9 (?cstart)
?Epilogue Library module | <CODE> 1 Relative segment 85B4 - 85C5 Segment part 0. | ?Epilogue3 | 85BE | -
?Epilogue4 | 85BC | -
?Epilogue5 | 85BA | tfp_printf (printf)
?Epilogue6 | 85B8 | -
?Epilogue7 | 85B6 | -
?Epilogue8 | 85B4 | -
?exit Library module | <CODE> 1 Relative segment 8606 - 8609 Segment part 2. | exit calls direct CSTACK = 00000000 ( 00000002 ) | 8606 | Segment part 17 (?cstart)
?Mul32 Library module | <CODE> 1 Relative segment 8446 - 8475 Segment part 0. | ?Mul32 | 8446 | getVcc3 (hal_cc2530znp_target_board)
?ShiftLeft16 Library module | <CODE> 1 Relative segment 85E6 - 85F1 Segment part 0. | ?ShiftLeft16 | 85E6 | toggleLed (hal_cc2530znp_target_board)
?ShiftRight32u_8n Library module | <CODE> 1 Relative segment 8556 - 855B Segment part 4. | ?ShiftRight32u_10 | 8556 | getVcc3 (hal_cc2530znp_target_board)
<CODE> 1 Relative segment 855C - 8561 Segment part 5. | Intra module refs |  | ?ShiftRight32u_10
?ShiftRight32u_9 | 855C | -
<CODE> 1 Relative segment 8562 - 856D Segment part 6. | Intra module refs |  | ?ShiftRight32u_9
?ShiftRight32u_8 | 8562 | -
?memzero Library module | <CODE> 1 Relative segment 85C6 - 85D7 Segment part 4. | __data16_memzero CSTACK = 00000000 ( 00000002 ) | 85C6 | ?cstart_init_zero (?cstart)

## Module Summary

Module | CODE | DATA | CONST
--- | --- | --- | ---
| (Rel) | (Rel) | (Abs) | (Rel)
?Epilogue | 18 |  |  |
?Mul32 | 48 |  |  |
?ShiftLeft16 | 12 |  |  |
?ShiftRight32u_8n | 24 |  |  |
?__dbg_break | 2 |  |  |
?__exit | 22 |  |  |
?_exit | 4 |  |  |
?cstart | 24 |  |  |
?exit | 4 |  |  |
?memzero | 18 |  |  |
?reset_vector | 2 |  |  |
example_read_light_sensor | 64 |  |  | 69
hal_cc2530znp_target_board + common | 536 20 | 12 | 60 | 188
printf | 518 | 18 |  |
N/A (command line) |  | 80 |  |
Total: + common | 1 296 20 | 110 | 60 | 257

Segments in Address Order
Segment | Space | Start | End | Size | Kind | Align
--- | --- | --- | --- | --- | --- | ---
DATA16_AN |  | 0001 - 0001 | 1 | Relative | 0
0003 - 0003 | 1
0011 - 0011 | 1
0019 - 001B | 3
001D - 001F | 3
0021 - 0027 | 7
0029 - 002F | 7
004A - 004A | 1
0053 - 0053 | 1
0056 - 0058 | 3
0061 - 0064 | 4
0066 - 006B | 6
006E - 006F | 2
0120 - 0121 | 2
0160 - 0163 | 4
0166 - 0167 | 2
0172 - 0173 | 2
0176 - 0177 | 2
01B0 - 01B5 | 6
DATA16_I |  | 0200 |  | Predefined | 0
DATA16_Z |  | 0200 - 021D | 1E | Relative | 1
CSTACK |  | 05B0 - 05FF | 50 | Relative | 1
DATA16_AN |  | 10FC - 10FD | 2 | Relative | 0
DATA16_C |  | 8000 - 8100 | 101 | Relative | 1
CSTART |  | 8102 - 8119 | 18 | Relative | 1
<CODE> 1 |  | 811A - 860F | 4F6 | Relative | 1
INTVEC |  | FFE0 - FFF3 | 14 | Common | 1
RESET |  | FFFE - FFFF | 2 | Relative | 1

1 316 | bytes | of | CODE | memory
110 | bytes | of | DATA | memory | (+ | 60 | absolute | )
257 | bytes | of | CONST | memory

Errors: none Warnings: none