added more code
This commit is contained in:
		
							
								
								
									
										2440
									
								
								CPE325/Lab1_Problem1/Debug/Lab1_Problem1.map
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2440
									
								
								CPE325/Lab1_Problem1/Debug/Lab1_Problem1.map
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								CPE325/Lab1_Problem1/Debug/Lab1_Problem1.out
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								CPE325/Lab1_Problem1/Debug/Lab1_Problem1.out
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										16383
									
								
								CPE325/Lab1_Problem1/Debug/Lab1_Problem1_linkInfo.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16383
									
								
								CPE325/Lab1_Problem1/Debug/Lab1_Problem1_linkInfo.xml
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										42
									
								
								CPE325/Lab1_Problem1/Debug/P1a.d
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								CPE325/Lab1_Problem1/Debug/P1a.d
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,42 @@ | ||||
| # FIXED | ||||
|  | ||||
| P1a.obj: ../P1a.c | ||||
| P1a.obj: C:/ti/ccs1040/ccs/ccs_base/msp430/include/msp430.h | ||||
| P1a.obj: C:/ti/ccs1040/ccs/ccs_base/msp430/include/msp430f5529.h | ||||
| P1a.obj: C:/ti/ccs1040/ccs/ccs_base/msp430/include/in430.h | ||||
| P1a.obj: C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/intrinsics.h | ||||
| P1a.obj: C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/intrinsics_legacy_undefs.h | ||||
| P1a.obj: C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/stdio.h | ||||
| P1a.obj: C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/_ti_config.h | ||||
| P1a.obj: C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/linkage.h | ||||
| P1a.obj: C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/stdarg.h | ||||
| P1a.obj: C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/sys/_types.h | ||||
| P1a.obj: C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/sys/cdefs.h | ||||
| P1a.obj: C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/machine/_types.h | ||||
|  | ||||
| ../P1a.c: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/ccs_base/msp430/include/msp430.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/ccs_base/msp430/include/msp430f5529.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/ccs_base/msp430/include/in430.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/intrinsics.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/intrinsics_legacy_undefs.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/stdio.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/_ti_config.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/linkage.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/stdarg.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/sys/_types.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/sys/cdefs.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/machine/_types.h: | ||||
|  | ||||
							
								
								
									
										1539
									
								
								CPE325/Lab1_Problem1/Debug/P1a.lst
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1539
									
								
								CPE325/Lab1_Problem1/Debug/P1a.lst
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								CPE325/Lab1_Problem1/Debug/P1a.obj
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								CPE325/Lab1_Problem1/Debug/P1a.obj
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										42
									
								
								CPE325/Lab1_Problem1/Debug/Problem1.d
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								CPE325/Lab1_Problem1/Debug/Problem1.d
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,42 @@ | ||||
| # FIXED | ||||
|  | ||||
| Problem1.obj: ../Problem1.c | ||||
| Problem1.obj: C:/ti/ccs1040/ccs/ccs_base/msp430/include/msp430.h | ||||
| Problem1.obj: C:/ti/ccs1040/ccs/ccs_base/msp430/include/msp430f5529.h | ||||
| Problem1.obj: C:/ti/ccs1040/ccs/ccs_base/msp430/include/in430.h | ||||
| Problem1.obj: C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/intrinsics.h | ||||
| Problem1.obj: C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/intrinsics_legacy_undefs.h | ||||
| Problem1.obj: C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/stdio.h | ||||
| Problem1.obj: C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/_ti_config.h | ||||
| Problem1.obj: C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/linkage.h | ||||
| Problem1.obj: C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/stdarg.h | ||||
| Problem1.obj: C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/sys/_types.h | ||||
| Problem1.obj: C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/sys/cdefs.h | ||||
| Problem1.obj: C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/machine/_types.h | ||||
|  | ||||
| ../Problem1.c: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/ccs_base/msp430/include/msp430.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/ccs_base/msp430/include/msp430f5529.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/ccs_base/msp430/include/in430.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/intrinsics.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/intrinsics_legacy_undefs.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/stdio.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/_ti_config.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/linkage.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/stdarg.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/sys/_types.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/sys/cdefs.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/machine/_types.h: | ||||
|  | ||||
							
								
								
									
										1544
									
								
								CPE325/Lab1_Problem1/Debug/Problem1.lst
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1544
									
								
								CPE325/Lab1_Problem1/Debug/Problem1.lst
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										42
									
								
								CPE325/Lab1_Problem1/Debug/Problem1a.d
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								CPE325/Lab1_Problem1/Debug/Problem1a.d
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,42 @@ | ||||
| # FIXED | ||||
|  | ||||
| Problem1a.obj: ../Problem1a.c | ||||
| Problem1a.obj: C:/ti/ccs1040/ccs/ccs_base/msp430/include/msp430.h | ||||
| Problem1a.obj: C:/ti/ccs1040/ccs/ccs_base/msp430/include/msp430f5529.h | ||||
| Problem1a.obj: C:/ti/ccs1040/ccs/ccs_base/msp430/include/in430.h | ||||
| Problem1a.obj: C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/intrinsics.h | ||||
| Problem1a.obj: C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/intrinsics_legacy_undefs.h | ||||
| Problem1a.obj: C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/stdio.h | ||||
| Problem1a.obj: C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/_ti_config.h | ||||
| Problem1a.obj: C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/linkage.h | ||||
| Problem1a.obj: C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/stdarg.h | ||||
| Problem1a.obj: C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/sys/_types.h | ||||
| Problem1a.obj: C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/sys/cdefs.h | ||||
| Problem1a.obj: C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/machine/_types.h | ||||
|  | ||||
| ../Problem1a.c: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/ccs_base/msp430/include/msp430.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/ccs_base/msp430/include/msp430f5529.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/ccs_base/msp430/include/in430.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/intrinsics.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/intrinsics_legacy_undefs.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/stdio.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/_ti_config.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/linkage.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/stdarg.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/sys/_types.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/sys/cdefs.h: | ||||
|  | ||||
| C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include/machine/_types.h: | ||||
|  | ||||
							
								
								
									
										1539
									
								
								CPE325/Lab1_Problem1/Debug/Problem1a.lst
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1539
									
								
								CPE325/Lab1_Problem1/Debug/Problem1a.lst
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1
									
								
								CPE325/Lab1_Problem1/Debug/ccsObjs.opt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								CPE325/Lab1_Problem1/Debug/ccsObjs.opt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| "./P1a.obj" "../lnk_msp430f5529.cmd" -llibmath.a -llibc.a  | ||||
							
								
								
									
										6
									
								
								CPE325/Lab1_Problem1/Debug/for.d
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								CPE325/Lab1_Problem1/Debug/for.d
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| # FIXED | ||||
|  | ||||
| for.obj: ../for.c | ||||
|  | ||||
| ../for.c: | ||||
|  | ||||
							
								
								
									
										119
									
								
								CPE325/Lab1_Problem1/Debug/for.lst
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										119
									
								
								CPE325/Lab1_Problem1/Debug/for.lst
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,119 @@ | ||||
| MSP430 Assembler PC v20.2.5 Sun Aug 22 14:01:15 2021 | ||||
|  | ||||
| Copyright (c) 2003-2018 Texas Instruments Incorporated | ||||
| C:\Users\LIBRAR~1\AppData\Local\Temp\{D9BF6471-3FB4-4F61-BC55-D1489D24AE1E} PAGE    1 | ||||
|  | ||||
|        1            ;****************************************************************************** | ||||
|        2            ;* MSP430 G3 C/C++ Codegen                                              PC v20.2.5.LTS * | ||||
|        3            ;* Date/Time created: Sun Aug 22 14:01:15 2021                                * | ||||
|        4            ;****************************************************************************** | ||||
|        5                    .compiler_opts --abi=eabi --diag_wrap=off --hll_source=on --mem_model:code=small --mem_model:d | ||||
|        6             | ||||
|        7            $C$DW$CU        .dwtag  DW_TAG_compile_unit | ||||
|        8                    .dwattr $C$DW$CU, DW_AT_name("../for.c") | ||||
|        9                    .dwattr $C$DW$CU, DW_AT_producer("TI MSP430 G3 C/C++ Codegen PC v20.2.5.LTS Copyright (c) 2003 | ||||
|       10                    .dwattr $C$DW$CU, DW_AT_TI_version(0x01) | ||||
|       11                    .dwattr $C$DW$CU, DW_AT_comp_dir("C:\CPE325_Workspace\Lab1_Problem1\Debug") | ||||
|       12            ;       C:\ti\ccs1040\ccs\tools\compiler\ti-cgt-msp430_20.2.5.LTS\bin\acpia430.exe -@C:\\Users\\LIBRAR | ||||
|       13             | ||||
|       14            ;****************************************************************************** | ||||
|       15            ;* BUILD ATTRIBUTES                                                           * | ||||
|       16            ;****************************************************************************** | ||||
|       17                    .battr "TI", Tag_File, 1, Tag_LPM_INFO(1) | ||||
|       18                    .battr "TI", Tag_File, 1, Tag_PORTS_INIT_INFO("012345678901ABCDEFGHIJ0000000000000000000000000 | ||||
|       19                    .battr "TI", Tag_File, 1, Tag_LEA_INFO(1) | ||||
|       20                    .battr "TI", Tag_File, 1, Tag_HW_MPY32_INFO(1) | ||||
|       21                    .battr "TI", Tag_File, 1, Tag_HW_MPY_ISR_INFO(1) | ||||
|       22                    .battr "TI", Tag_File, 1, Tag_HW_MPY_INLINE_INFO(1) | ||||
|       23                    .battr "mspabi", Tag_File, 1, Tag_enum_size(3) | ||||
|       24             | ||||
|       25            ;****************************************************************************** | ||||
|       26            ;* TYPE INFORMATION                                                           * | ||||
|       27            ;****************************************************************************** | ||||
|       28            $C$DW$T$2       .dwtag  DW_TAG_unspecified_type | ||||
|       29                    .dwattr $C$DW$T$2, DW_AT_name("void") | ||||
|       30             | ||||
|       31            $C$DW$T$4       .dwtag  DW_TAG_base_type | ||||
|       32                    .dwattr $C$DW$T$4, DW_AT_encoding(DW_ATE_boolean) | ||||
|       33                    .dwattr $C$DW$T$4, DW_AT_name("bool") | ||||
|       34                    .dwattr $C$DW$T$4, DW_AT_byte_size(0x01) | ||||
|       35             | ||||
|       36            $C$DW$T$5       .dwtag  DW_TAG_base_type | ||||
|       37                    .dwattr $C$DW$T$5, DW_AT_encoding(DW_ATE_signed_char) | ||||
|       38                    .dwattr $C$DW$T$5, DW_AT_name("signed char") | ||||
|       39                    .dwattr $C$DW$T$5, DW_AT_byte_size(0x01) | ||||
|       40             | ||||
|       41            $C$DW$T$6       .dwtag  DW_TAG_base_type | ||||
|       42                    .dwattr $C$DW$T$6, DW_AT_encoding(DW_ATE_unsigned_char) | ||||
|       43                    .dwattr $C$DW$T$6, DW_AT_name("unsigned char") | ||||
|       44                    .dwattr $C$DW$T$6, DW_AT_byte_size(0x01) | ||||
|       45             | ||||
|       46            $C$DW$T$7       .dwtag  DW_TAG_base_type | ||||
|       47                    .dwattr $C$DW$T$7, DW_AT_encoding(DW_ATE_signed_char) | ||||
|       48                    .dwattr $C$DW$T$7, DW_AT_name("wchar_t") | ||||
|       49                    .dwattr $C$DW$T$7, DW_AT_byte_size(0x02) | ||||
|       50             | ||||
|       51            $C$DW$T$8       .dwtag  DW_TAG_base_type | ||||
|       52                    .dwattr $C$DW$T$8, DW_AT_encoding(DW_ATE_signed) | ||||
|       53                    .dwattr $C$DW$T$8, DW_AT_name("short") | ||||
|       54                    .dwattr $C$DW$T$8, DW_AT_byte_size(0x02) | ||||
|       55             | ||||
| MSP430 Assembler PC v20.2.5 Sun Aug 22 14:01:15 2021 | ||||
|  | ||||
| Copyright (c) 2003-2018 Texas Instruments Incorporated | ||||
| C:\Users\LIBRAR~1\AppData\Local\Temp\{D9BF6471-3FB4-4F61-BC55-D1489D24AE1E} PAGE    2 | ||||
|  | ||||
|       56            $C$DW$T$9       .dwtag  DW_TAG_base_type | ||||
|       57                    .dwattr $C$DW$T$9, DW_AT_encoding(DW_ATE_unsigned) | ||||
|       58                    .dwattr $C$DW$T$9, DW_AT_name("unsigned short") | ||||
|       59                    .dwattr $C$DW$T$9, DW_AT_byte_size(0x02) | ||||
|       60             | ||||
|       61            $C$DW$T$10      .dwtag  DW_TAG_base_type | ||||
|       62                    .dwattr $C$DW$T$10, DW_AT_encoding(DW_ATE_signed) | ||||
|       63                    .dwattr $C$DW$T$10, DW_AT_name("int") | ||||
|       64                    .dwattr $C$DW$T$10, DW_AT_byte_size(0x02) | ||||
|       65             | ||||
|       66            $C$DW$T$11      .dwtag  DW_TAG_base_type | ||||
|       67                    .dwattr $C$DW$T$11, DW_AT_encoding(DW_ATE_unsigned) | ||||
|       68                    .dwattr $C$DW$T$11, DW_AT_name("unsigned int") | ||||
|       69                    .dwattr $C$DW$T$11, DW_AT_byte_size(0x02) | ||||
|       70             | ||||
|       71            $C$DW$T$12      .dwtag  DW_TAG_base_type | ||||
|       72                    .dwattr $C$DW$T$12, DW_AT_encoding(DW_ATE_signed) | ||||
|       73                    .dwattr $C$DW$T$12, DW_AT_name("long") | ||||
|       74                    .dwattr $C$DW$T$12, DW_AT_byte_size(0x04) | ||||
|       75             | ||||
|       76            $C$DW$T$13      .dwtag  DW_TAG_base_type | ||||
|       77                    .dwattr $C$DW$T$13, DW_AT_encoding(DW_ATE_unsigned) | ||||
|       78                    .dwattr $C$DW$T$13, DW_AT_name("unsigned long") | ||||
|       79                    .dwattr $C$DW$T$13, DW_AT_byte_size(0x04) | ||||
|       80             | ||||
|       81            $C$DW$T$14      .dwtag  DW_TAG_base_type | ||||
|       82                    .dwattr $C$DW$T$14, DW_AT_encoding(DW_ATE_signed) | ||||
|       83                    .dwattr $C$DW$T$14, DW_AT_name("long long") | ||||
|       84                    .dwattr $C$DW$T$14, DW_AT_byte_size(0x08) | ||||
|       85             | ||||
|       86            $C$DW$T$15      .dwtag  DW_TAG_base_type | ||||
|       87                    .dwattr $C$DW$T$15, DW_AT_encoding(DW_ATE_unsigned) | ||||
|       88                    .dwattr $C$DW$T$15, DW_AT_name("unsigned long long") | ||||
|       89                    .dwattr $C$DW$T$15, DW_AT_byte_size(0x08) | ||||
|       90             | ||||
|       91            $C$DW$T$16      .dwtag  DW_TAG_base_type | ||||
|       92                    .dwattr $C$DW$T$16, DW_AT_encoding(DW_ATE_float) | ||||
|       93                    .dwattr $C$DW$T$16, DW_AT_name("float") | ||||
|       94                    .dwattr $C$DW$T$16, DW_AT_byte_size(0x04) | ||||
|       95             | ||||
|       96            $C$DW$T$17      .dwtag  DW_TAG_base_type | ||||
|       97                    .dwattr $C$DW$T$17, DW_AT_encoding(DW_ATE_float) | ||||
|       98                    .dwattr $C$DW$T$17, DW_AT_name("double") | ||||
|       99                    .dwattr $C$DW$T$17, DW_AT_byte_size(0x08) | ||||
|      100             | ||||
|      101            $C$DW$T$18      .dwtag  DW_TAG_base_type | ||||
|      102                    .dwattr $C$DW$T$18, DW_AT_encoding(DW_ATE_float) | ||||
|      103                    .dwattr $C$DW$T$18, DW_AT_name("long double") | ||||
|      104                    .dwattr $C$DW$T$18, DW_AT_byte_size(0x08) | ||||
|      105             | ||||
|      106                    .dwendtag $C$DW$CU | ||||
|      107             | ||||
|  | ||||
| No Assembly Errors, No Assembly Warnings | ||||
							
								
								
									
										168
									
								
								CPE325/Lab1_Problem1/Debug/makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										168
									
								
								CPE325/Lab1_Problem1/Debug/makefile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,168 @@ | ||||
| ################################################################################ | ||||
| # Automatically-generated file. Do not edit! | ||||
| ################################################################################ | ||||
|  | ||||
| SHELL = cmd.exe | ||||
|  | ||||
| CG_TOOL_ROOT := C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS | ||||
|  | ||||
| GEN_OPTS__FLAG :=  | ||||
| GEN_CMDS__FLAG :=  | ||||
|  | ||||
| ORDERED_OBJS += \ | ||||
| "./P1a.obj" \ | ||||
| "../lnk_msp430f5529.cmd" \ | ||||
| $(GEN_CMDS__FLAG) \ | ||||
| -llibmath.a \ | ||||
| -llibc.a \ | ||||
|  | ||||
| -include ../makefile.init | ||||
|  | ||||
| RM := DEL /F | ||||
| RMDIR := RMDIR /S/Q | ||||
|  | ||||
| # All of the sources participating in the build are defined here | ||||
| -include sources.mk | ||||
| -include subdir_vars.mk | ||||
| -include subdir_rules.mk | ||||
| -include objects.mk | ||||
|  | ||||
| ifneq ($(MAKECMDGOALS),clean) | ||||
| ifneq ($(strip $(C55_DEPS)),) | ||||
| -include $(C55_DEPS) | ||||
| endif | ||||
| ifneq ($(strip $(C_UPPER_DEPS)),) | ||||
| -include $(C_UPPER_DEPS) | ||||
| endif | ||||
| ifneq ($(strip $(S67_DEPS)),) | ||||
| -include $(S67_DEPS) | ||||
| endif | ||||
| ifneq ($(strip $(S62_DEPS)),) | ||||
| -include $(S62_DEPS) | ||||
| endif | ||||
| ifneq ($(strip $(S_DEPS)),) | ||||
| -include $(S_DEPS) | ||||
| endif | ||||
| ifneq ($(strip $(OPT_DEPS)),) | ||||
| -include $(OPT_DEPS) | ||||
| endif | ||||
| ifneq ($(strip $(C??_DEPS)),) | ||||
| -include $(C??_DEPS) | ||||
| endif | ||||
| ifneq ($(strip $(ASM_UPPER_DEPS)),) | ||||
| -include $(ASM_UPPER_DEPS) | ||||
| endif | ||||
| ifneq ($(strip $(S??_DEPS)),) | ||||
| -include $(S??_DEPS) | ||||
| endif | ||||
| ifneq ($(strip $(C64_DEPS)),) | ||||
| -include $(C64_DEPS) | ||||
| endif | ||||
| ifneq ($(strip $(CXX_DEPS)),) | ||||
| -include $(CXX_DEPS) | ||||
| endif | ||||
| ifneq ($(strip $(S64_DEPS)),) | ||||
| -include $(S64_DEPS) | ||||
| endif | ||||
| ifneq ($(strip $(INO_DEPS)),) | ||||
| -include $(INO_DEPS) | ||||
| endif | ||||
| ifneq ($(strip $(CLA_DEPS)),) | ||||
| -include $(CLA_DEPS) | ||||
| endif | ||||
| ifneq ($(strip $(S55_DEPS)),) | ||||
| -include $(S55_DEPS) | ||||
| endif | ||||
| ifneq ($(strip $(SV7A_DEPS)),) | ||||
| -include $(SV7A_DEPS) | ||||
| endif | ||||
| ifneq ($(strip $(C62_DEPS)),) | ||||
| -include $(C62_DEPS) | ||||
| endif | ||||
| ifneq ($(strip $(C67_DEPS)),) | ||||
| -include $(C67_DEPS) | ||||
| endif | ||||
| ifneq ($(strip $(PDE_DEPS)),) | ||||
| -include $(PDE_DEPS) | ||||
| endif | ||||
| ifneq ($(strip $(K_DEPS)),) | ||||
| -include $(K_DEPS) | ||||
| endif | ||||
| ifneq ($(strip $(C_DEPS)),) | ||||
| -include $(C_DEPS) | ||||
| endif | ||||
| ifneq ($(strip $(CC_DEPS)),) | ||||
| -include $(CC_DEPS) | ||||
| endif | ||||
| ifneq ($(strip $(C++_DEPS)),) | ||||
| -include $(C++_DEPS) | ||||
| endif | ||||
| ifneq ($(strip $(C43_DEPS)),) | ||||
| -include $(C43_DEPS) | ||||
| endif | ||||
| ifneq ($(strip $(S43_DEPS)),) | ||||
| -include $(S43_DEPS) | ||||
| endif | ||||
| ifneq ($(strip $(ASM_DEPS)),) | ||||
| -include $(ASM_DEPS) | ||||
| endif | ||||
| ifneq ($(strip $(S_UPPER_DEPS)),) | ||||
| -include $(S_UPPER_DEPS) | ||||
| endif | ||||
| ifneq ($(strip $(CPP_DEPS)),) | ||||
| -include $(CPP_DEPS) | ||||
| endif | ||||
| ifneq ($(strip $(SA_DEPS)),) | ||||
| -include $(SA_DEPS) | ||||
| endif | ||||
| endif | ||||
|  | ||||
| -include ../makefile.defs | ||||
|  | ||||
| # Add inputs and outputs from these tool invocations to the build variables  | ||||
| EXE_OUTPUTS += \ | ||||
| Lab1_Problem1.out \ | ||||
|  | ||||
| EXE_OUTPUTS__QUOTED += \ | ||||
| "Lab1_Problem1.out" \ | ||||
|  | ||||
| BIN_OUTPUTS += \ | ||||
| Lab1_Problem1.hex \ | ||||
|  | ||||
| BIN_OUTPUTS__QUOTED += \ | ||||
| "Lab1_Problem1.hex" \ | ||||
|  | ||||
|  | ||||
| # All Target | ||||
| all: $(OBJS) $(CMD_SRCS) $(GEN_CMDS) | ||||
| 	@$(MAKE) --no-print-directory -Onone "Lab1_Problem1.out" | ||||
|  | ||||
| # Tool invocations | ||||
| Lab1_Problem1.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS) | ||||
| 	@echo 'Building target: "$@"' | ||||
| 	@echo 'Invoking: MSP430 Linker' | ||||
| 	"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/bin/cl430" -vmsp --data_model=small -Ooff --use_hw_mpy=F5 --advice:power=all --define=__MSP430F5529__ -g --printf_support=full --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --asm_listing -z -m"Lab1_Problem1.map" --heap_size=300 --stack_size=160 --cinit_hold_wdt=on -i"C:/ti/ccs1040/ccs/ccs_base/msp430/include" -i"C:/ti/ccs1040/ccs/ccs_base/msp430/lib/5xx_6xx_FRxx" -i"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/lib" -i"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="Lab1_Problem1_linkInfo.xml" --use_hw_mpy=F5 --rom_model -o "Lab1_Problem1.out" $(ORDERED_OBJS) | ||||
| 	@echo 'Finished building target: "$@"' | ||||
| 	@echo ' ' | ||||
|  | ||||
| Lab1_Problem1.hex: $(EXE_OUTPUTS) | ||||
| 	@echo 'Building secondary target: "$@"' | ||||
| 	@echo 'Invoking: MSP430 Hex Utility' | ||||
| 	"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/bin/hex430" --memwidth=8 --romwidth=8 --diag_wrap=off -o "Lab1_Problem1.hex" $(EXE_OUTPUTS__QUOTED) | ||||
| 	@echo 'Finished building secondary target: "$@"' | ||||
| 	@echo ' ' | ||||
|  | ||||
| # Other Targets | ||||
| clean: | ||||
| 	-$(RM) $(BIN_OUTPUTS__QUOTED)$(EXE_OUTPUTS__QUOTED) | ||||
| 	-$(RM) "P1a.lst"  | ||||
| 	-$(RM) "P1a.obj"  | ||||
| 	-$(RM) "P1a.d"  | ||||
| 	-@echo 'Finished clean' | ||||
| 	-@echo ' ' | ||||
|  | ||||
| .PHONY: all clean dependents | ||||
| .SECONDARY: | ||||
|  | ||||
| -include ../makefile.targets | ||||
|  | ||||
							
								
								
									
										8
									
								
								CPE325/Lab1_Problem1/Debug/objects.mk
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								CPE325/Lab1_Problem1/Debug/objects.mk
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| ################################################################################ | ||||
| # Automatically-generated file. Do not edit! | ||||
| ################################################################################ | ||||
|  | ||||
| USER_OBJS := | ||||
|  | ||||
| LIBS := -llibmath.a -llibc.a | ||||
|  | ||||
							
								
								
									
										115
									
								
								CPE325/Lab1_Problem1/Debug/sources.mk
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										115
									
								
								CPE325/Lab1_Problem1/Debug/sources.mk
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,115 @@ | ||||
| ################################################################################ | ||||
| # Automatically-generated file. Do not edit! | ||||
| ################################################################################ | ||||
|  | ||||
| C55_SRCS :=  | ||||
| A_SRCS :=  | ||||
| ASM_UPPER_SRCS :=  | ||||
| EXE_SRCS :=  | ||||
| LDS_UPPER_SRCS :=  | ||||
| CPP_SRCS :=  | ||||
| CMD_SRCS :=  | ||||
| O_SRCS :=  | ||||
| ELF_SRCS :=  | ||||
| C??_SRCS :=  | ||||
| C64_SRCS :=  | ||||
| C67_SRCS :=  | ||||
| SA_SRCS :=  | ||||
| S64_SRCS :=  | ||||
| OPT_SRCS :=  | ||||
| CXX_SRCS :=  | ||||
| S67_SRCS :=  | ||||
| S??_SRCS :=  | ||||
| PDE_SRCS :=  | ||||
| SV7A_SRCS :=  | ||||
| K_SRCS :=  | ||||
| CLA_SRCS :=  | ||||
| S55_SRCS :=  | ||||
| LD_UPPER_SRCS :=  | ||||
| OUT_SRCS :=  | ||||
| INO_SRCS :=  | ||||
| LIB_SRCS :=  | ||||
| ASM_SRCS :=  | ||||
| S_UPPER_SRCS :=  | ||||
| S43_SRCS :=  | ||||
| LD_SRCS :=  | ||||
| CMD_UPPER_SRCS :=  | ||||
| C_UPPER_SRCS :=  | ||||
| C++_SRCS :=  | ||||
| C43_SRCS :=  | ||||
| OBJ_SRCS :=  | ||||
| LDS_SRCS :=  | ||||
| S_SRCS :=  | ||||
| CC_SRCS :=  | ||||
| S62_SRCS :=  | ||||
| C62_SRCS :=  | ||||
| C_SRCS :=  | ||||
| C55_DEPS :=  | ||||
| C_UPPER_DEPS :=  | ||||
| S67_DEPS :=  | ||||
| S62_DEPS :=  | ||||
| S_DEPS :=  | ||||
| OPT_DEPS :=  | ||||
| C??_DEPS :=  | ||||
| ASM_UPPER_DEPS :=  | ||||
| S??_DEPS :=  | ||||
| C64_DEPS :=  | ||||
| CXX_DEPS :=  | ||||
| S64_DEPS :=  | ||||
| INO_DEPS :=  | ||||
| CLA_DEPS :=  | ||||
| S55_DEPS :=  | ||||
| SV7A_DEPS :=  | ||||
| EXE_OUTPUTS :=  | ||||
| C62_DEPS :=  | ||||
| C67_DEPS :=  | ||||
| PDE_DEPS :=  | ||||
| K_DEPS :=  | ||||
| C_DEPS :=  | ||||
| CC_DEPS :=  | ||||
| BIN_OUTPUTS :=  | ||||
| C++_DEPS :=  | ||||
| C43_DEPS :=  | ||||
| S43_DEPS :=  | ||||
| OBJS :=  | ||||
| ASM_DEPS :=  | ||||
| S_UPPER_DEPS :=  | ||||
| CPP_DEPS :=  | ||||
| SA_DEPS :=  | ||||
| C++_DEPS__QUOTED :=  | ||||
| OPT_DEPS__QUOTED :=  | ||||
| S_UPPER_DEPS__QUOTED :=  | ||||
| SA_DEPS__QUOTED :=  | ||||
| C??_DEPS__QUOTED :=  | ||||
| S67_DEPS__QUOTED :=  | ||||
| C55_DEPS__QUOTED :=  | ||||
| CC_DEPS__QUOTED :=  | ||||
| ASM_UPPER_DEPS__QUOTED :=  | ||||
| SV7A_DEPS__QUOTED :=  | ||||
| S??_DEPS__QUOTED :=  | ||||
| OBJS__QUOTED :=  | ||||
| C67_DEPS__QUOTED :=  | ||||
| K_DEPS__QUOTED :=  | ||||
| S55_DEPS__QUOTED :=  | ||||
| INO_DEPS__QUOTED :=  | ||||
| C62_DEPS__QUOTED :=  | ||||
| C_DEPS__QUOTED :=  | ||||
| C_UPPER_DEPS__QUOTED :=  | ||||
| C43_DEPS__QUOTED :=  | ||||
| CPP_DEPS__QUOTED :=  | ||||
| BIN_OUTPUTS__QUOTED :=  | ||||
| C64_DEPS__QUOTED :=  | ||||
| CXX_DEPS__QUOTED :=  | ||||
| CLA_DEPS__QUOTED :=  | ||||
| S_DEPS__QUOTED :=  | ||||
| ASM_DEPS__QUOTED :=  | ||||
| S43_DEPS__QUOTED :=  | ||||
| EXE_OUTPUTS__QUOTED :=  | ||||
| S64_DEPS__QUOTED :=  | ||||
| S62_DEPS__QUOTED :=  | ||||
| PDE_DEPS__QUOTED :=  | ||||
|  | ||||
| # Every subdirectory with source files must be described here | ||||
| SUBDIRS := \ | ||||
| . \ | ||||
|  | ||||
							
								
								
									
										15
									
								
								CPE325/Lab1_Problem1/Debug/subdir_rules.mk
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								CPE325/Lab1_Problem1/Debug/subdir_rules.mk
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| ################################################################################ | ||||
| # Automatically-generated file. Do not edit! | ||||
| ################################################################################ | ||||
|  | ||||
| SHELL = cmd.exe | ||||
|  | ||||
| # Each subdirectory must supply rules for building sources it contributes | ||||
| %.obj: ../%.c $(GEN_OPTS) | $(GEN_FILES) $(GEN_MISC_FILES) | ||||
| 	@echo 'Building file: "$<"' | ||||
| 	@echo 'Invoking: MSP430 Compiler' | ||||
| 	"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/bin/cl430" -vmsp --data_model=small -Ooff --use_hw_mpy=F5 --include_path="C:/ti/ccs1040/ccs/ccs_base/msp430/include" --include_path="C:/CPE325_Workspace/Lab1_Problem1" --include_path="C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-msp430_20.2.5.LTS/include" --advice:power=all --define=__MSP430F5529__ -g --printf_support=full --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --asm_listing --preproc_with_compile --preproc_dependency="$(basename $(<F)).d_raw" $(GEN_OPTS__FLAG) "$<" | ||||
| 	@echo 'Finished building: "$<"' | ||||
| 	@echo ' ' | ||||
|  | ||||
|  | ||||
							
								
								
									
										29
									
								
								CPE325/Lab1_Problem1/Debug/subdir_vars.mk
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								CPE325/Lab1_Problem1/Debug/subdir_vars.mk
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,29 @@ | ||||
| ################################################################################ | ||||
| # Automatically-generated file. Do not edit! | ||||
| ################################################################################ | ||||
|  | ||||
| SHELL = cmd.exe | ||||
|  | ||||
| # Add inputs and outputs from these tool invocations to the build variables  | ||||
| CMD_SRCS += \ | ||||
| ../lnk_msp430f5529.cmd  | ||||
|  | ||||
| C_SRCS += \ | ||||
| ../P1a.c  | ||||
|  | ||||
| C_DEPS += \ | ||||
| ./P1a.d  | ||||
|  | ||||
| OBJS += \ | ||||
| ./P1a.obj  | ||||
|  | ||||
| OBJS__QUOTED += \ | ||||
| "P1a.obj"  | ||||
|  | ||||
| C_DEPS__QUOTED += \ | ||||
| "P1a.d"  | ||||
|  | ||||
| C_SRCS__QUOTED += \ | ||||
| "../P1a.c"  | ||||
|  | ||||
|  | ||||
							
								
								
									
										38
									
								
								CPE325/Lab1_Problem1/P1a.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								CPE325/Lab1_Problem1/P1a.c
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,38 @@ | ||||
| /*------------------------------------------------------------------------------ | ||||
|  * File:        Problem1.c | ||||
|  * Function:    Calculate the product of two even numbers | ||||
|  * Description: This C program calculates the product of two even numbers and outputs the results in the | ||||
|  *              form "2 times 8 is 16" | ||||
|  * Input:       None | ||||
|  * Output:      "2 times 8 is 16" | ||||
|  * Author(s):   Noah Woodlee | ||||
|  * Lab Section: 09 | ||||
|  * Date:        Aug 20, 2021 | ||||
|  *----------------------------------------------------------------------------*/ | ||||
|  | ||||
| #include <msp430.h> | ||||
| #include <stdio.h> | ||||
| int prod(int f, int s, int c, int p); | ||||
|  | ||||
| int main() { | ||||
|  | ||||
|     //Intialize variables | ||||
|     int first = 4; | ||||
|     int second = 8; | ||||
|     int counter = 0; | ||||
|     int pr = 0; | ||||
|     int product = 0; | ||||
|     //Call loop | ||||
|     product =prod(first,second,counter,pr); | ||||
|     //Print output | ||||
|     printf ("%d times %d is %d\n", first,second,product); | ||||
| } | ||||
|  | ||||
| int prod(int f, int s, int c, int p){ | ||||
|     p =p+ f; //Add first number to product | ||||
|     c=c+1; //Increment counter by 1 | ||||
|     if (c!=s) p= prod(f,s,c,p); // If counter is not equal to the second number, | ||||
|                              // call the function agian | ||||
|     return p; | ||||
| } | ||||
|  | ||||
							
								
								
									
										251
									
								
								CPE325/Lab1_Problem1/lnk_msp430f5529.cmd
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										251
									
								
								CPE325/Lab1_Problem1/lnk_msp430f5529.cmd
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,251 @@ | ||||
| /* ============================================================================ */ | ||||
| /* Copyright (c) 2020, Texas Instruments Incorporated                           */ | ||||
| /*  All rights reserved.                                                        */ | ||||
| /*                                                                              */ | ||||
| /*  Redistribution and use in source and binary forms, with or without          */ | ||||
| /*  modification, are permitted provided that the following conditions          */ | ||||
| /*  are met:                                                                    */ | ||||
| /*                                                                              */ | ||||
| /*  *  Redistributions of source code must retain the above copyright           */ | ||||
| /*     notice, this list of conditions and the following disclaimer.            */ | ||||
| /*                                                                              */ | ||||
| /*  *  Redistributions in binary form must reproduce the above copyright        */ | ||||
| /*     notice, this list of conditions and the following disclaimer in the      */ | ||||
| /*     documentation and/or other materials provided with the distribution.     */ | ||||
| /*                                                                              */ | ||||
| /*  *  Neither the name of Texas Instruments Incorporated nor the names of      */ | ||||
| /*     its contributors may be used to endorse or promote products derived      */ | ||||
| /*     from this software without specific prior written permission.            */ | ||||
| /*                                                                              */ | ||||
| /*  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" */ | ||||
| /*  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,       */ | ||||
| /*  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR      */ | ||||
| /*  PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR            */ | ||||
| /*  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,       */ | ||||
| /*  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,         */ | ||||
| /*  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; */ | ||||
| /*  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,    */ | ||||
| /*  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR     */ | ||||
| /*  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,              */ | ||||
| /*  EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.                          */ | ||||
| /* ============================================================================ */ | ||||
|  | ||||
| /******************************************************************************/ | ||||
| /* lnk_msp430f5529.cmd - LINKER COMMAND FILE FOR LINKING MSP430F5529 PROGRAMS     */ | ||||
| /*                                                                            */ | ||||
| /*   Usage:  lnk430 <obj files...>    -o <out file> -m <map file> lnk.cmd     */ | ||||
| /*           cl430  <src files...> -z -o <out file> -m <map file> lnk.cmd     */ | ||||
| /*                                                                            */ | ||||
| /*----------------------------------------------------------------------------*/ | ||||
| /* These linker options are for command line linking only.  For IDE linking,  */ | ||||
| /* you should set your linker options in Project Properties                   */ | ||||
| /* -c                                               LINK USING C CONVENTIONS  */ | ||||
| /* -stack  0x0100                                   SOFTWARE STACK SIZE       */ | ||||
| /* -heap   0x0100                                   HEAP AREA SIZE            */ | ||||
| /*                                                                            */ | ||||
| /*----------------------------------------------------------------------------*/ | ||||
| /* Version: 1.211                                                             */ | ||||
| /*----------------------------------------------------------------------------*/ | ||||
|  | ||||
| /****************************************************************************/ | ||||
| /* Specify the system memory map                                            */ | ||||
| /****************************************************************************/ | ||||
|  | ||||
| MEMORY | ||||
| { | ||||
|     SFR                     : origin = 0x0000, length = 0x0010 | ||||
|     PERIPHERALS_8BIT        : origin = 0x0010, length = 0x00F0 | ||||
|     PERIPHERALS_16BIT       : origin = 0x0100, length = 0x0100 | ||||
|     RAM                     : origin = 0x2400, length = 0x2000 | ||||
|     USBRAM                  : origin = 0x1C00, length = 0x0800 | ||||
|     INFOA                   : origin = 0x1980, length = 0x0080 | ||||
|     INFOB                   : origin = 0x1900, length = 0x0080 | ||||
|     INFOC                   : origin = 0x1880, length = 0x0080 | ||||
|     INFOD                   : origin = 0x1800, length = 0x0080 | ||||
|     FLASH                   : origin = 0x4400, length = 0xBB80 | ||||
|     FLASH2                  : origin = 0x10000,length = 0x143F8 /* Boundaries changed to fix CPU47 */ | ||||
|     INT00                   : origin = 0xFF80, length = 0x0002 | ||||
|     INT01                   : origin = 0xFF82, length = 0x0002 | ||||
|     INT02                   : origin = 0xFF84, length = 0x0002 | ||||
|     INT03                   : origin = 0xFF86, length = 0x0002 | ||||
|     INT04                   : origin = 0xFF88, length = 0x0002 | ||||
|     INT05                   : origin = 0xFF8A, length = 0x0002 | ||||
|     INT06                   : origin = 0xFF8C, length = 0x0002 | ||||
|     INT07                   : origin = 0xFF8E, length = 0x0002 | ||||
|     INT08                   : origin = 0xFF90, length = 0x0002 | ||||
|     INT09                   : origin = 0xFF92, length = 0x0002 | ||||
|     INT10                   : origin = 0xFF94, length = 0x0002 | ||||
|     INT11                   : origin = 0xFF96, length = 0x0002 | ||||
|     INT12                   : origin = 0xFF98, length = 0x0002 | ||||
|     INT13                   : origin = 0xFF9A, length = 0x0002 | ||||
|     INT14                   : origin = 0xFF9C, length = 0x0002 | ||||
|     INT15                   : origin = 0xFF9E, length = 0x0002 | ||||
|     INT16                   : origin = 0xFFA0, length = 0x0002 | ||||
|     INT17                   : origin = 0xFFA2, length = 0x0002 | ||||
|     INT18                   : origin = 0xFFA4, length = 0x0002 | ||||
|     INT19                   : origin = 0xFFA6, length = 0x0002 | ||||
|     INT20                   : origin = 0xFFA8, length = 0x0002 | ||||
|     INT21                   : origin = 0xFFAA, length = 0x0002 | ||||
|     INT22                   : origin = 0xFFAC, length = 0x0002 | ||||
|     INT23                   : origin = 0xFFAE, length = 0x0002 | ||||
|     INT24                   : origin = 0xFFB0, length = 0x0002 | ||||
|     INT25                   : origin = 0xFFB2, length = 0x0002 | ||||
|     INT26                   : origin = 0xFFB4, length = 0x0002 | ||||
|     INT27                   : origin = 0xFFB6, length = 0x0002 | ||||
|     INT28                   : origin = 0xFFB8, length = 0x0002 | ||||
|     INT29                   : origin = 0xFFBA, length = 0x0002 | ||||
|     INT30                   : origin = 0xFFBC, length = 0x0002 | ||||
|     INT31                   : origin = 0xFFBE, length = 0x0002 | ||||
|     INT32                   : origin = 0xFFC0, length = 0x0002 | ||||
|     INT33                   : origin = 0xFFC2, length = 0x0002 | ||||
|     INT34                   : origin = 0xFFC4, length = 0x0002 | ||||
|     INT35                   : origin = 0xFFC6, length = 0x0002 | ||||
|     INT36                   : origin = 0xFFC8, length = 0x0002 | ||||
|     INT37                   : origin = 0xFFCA, length = 0x0002 | ||||
|     INT38                   : origin = 0xFFCC, length = 0x0002 | ||||
|     INT39                   : origin = 0xFFCE, length = 0x0002 | ||||
|     INT40                   : origin = 0xFFD0, length = 0x0002 | ||||
|     INT41                   : origin = 0xFFD2, length = 0x0002 | ||||
|     INT42                   : origin = 0xFFD4, length = 0x0002 | ||||
|     INT43                   : origin = 0xFFD6, length = 0x0002 | ||||
|     INT44                   : origin = 0xFFD8, length = 0x0002 | ||||
|     INT45                   : origin = 0xFFDA, length = 0x0002 | ||||
|     INT46                   : origin = 0xFFDC, length = 0x0002 | ||||
|     INT47                   : origin = 0xFFDE, length = 0x0002 | ||||
|     INT48                   : origin = 0xFFE0, length = 0x0002 | ||||
|     INT49                   : origin = 0xFFE2, length = 0x0002 | ||||
|     INT50                   : origin = 0xFFE4, length = 0x0002 | ||||
|     INT51                   : origin = 0xFFE6, length = 0x0002 | ||||
|     INT52                   : origin = 0xFFE8, length = 0x0002 | ||||
|     INT53                   : origin = 0xFFEA, length = 0x0002 | ||||
|     INT54                   : origin = 0xFFEC, length = 0x0002 | ||||
|     INT55                   : origin = 0xFFEE, length = 0x0002 | ||||
|     INT56                   : origin = 0xFFF0, length = 0x0002 | ||||
|     INT57                   : origin = 0xFFF2, length = 0x0002 | ||||
|     INT58                   : origin = 0xFFF4, length = 0x0002 | ||||
|     INT59                   : origin = 0xFFF6, length = 0x0002 | ||||
|     INT60                   : origin = 0xFFF8, length = 0x0002 | ||||
|     INT61                   : origin = 0xFFFA, length = 0x0002 | ||||
|     INT62                   : origin = 0xFFFC, length = 0x0002 | ||||
|     RESET                   : origin = 0xFFFE, length = 0x0002 | ||||
| } | ||||
|  | ||||
| /****************************************************************************/ | ||||
| /* Specify the sections allocation into memory                              */ | ||||
| /****************************************************************************/ | ||||
|  | ||||
| SECTIONS | ||||
| { | ||||
|     .bss        : {} > RAM                  /* Global & static vars              */ | ||||
|     .data       : {} > RAM                  /* Global & static vars              */ | ||||
|     .TI.noinit  : {} > RAM                  /* For #pragma noinit                */ | ||||
|     .sysmem     : {} > RAM                  /* Dynamic memory allocation area    */ | ||||
|     .stack      : {} > RAM (HIGH)           /* Software system stack             */ | ||||
|  | ||||
| #ifndef __LARGE_CODE_MODEL__ | ||||
|     .text       : {} > FLASH                /* Code                              */ | ||||
| #else | ||||
|     .text       : {} >> FLASH2 | FLASH      /* Code                              */ | ||||
| #endif | ||||
|     .text:_isr  : {} > FLASH                /* ISR Code space                    */ | ||||
|     .cinit      : {} > FLASH                /* Initialization tables             */ | ||||
| #ifndef __LARGE_DATA_MODEL__ | ||||
|     .const      : {} > FLASH                /* Constant data                     */ | ||||
| #else | ||||
|     .const      : {} >> FLASH | FLASH2      /* Constant data                     */ | ||||
| #endif | ||||
|     .cio        : {} > RAM                  /* C I/O Buffer                      */ | ||||
|  | ||||
|     .pinit      : {} > FLASH                /* C++ Constructor tables            */ | ||||
|     .binit      : {} > FLASH                /* Boot-time Initialization tables   */ | ||||
|     .init_array : {} > FLASH                /* C++ Constructor tables            */ | ||||
|     .mspabi.exidx : {} > FLASH              /* C++ Constructor tables            */ | ||||
|     .mspabi.extab : {} > FLASH              /* C++ Constructor tables            */ | ||||
| #ifdef __TI_COMPILER_VERSION__ | ||||
|   #if __TI_COMPILER_VERSION__ >= 15009000 | ||||
|     #ifndef __LARGE_CODE_MODEL__ | ||||
|     .TI.ramfunc : {} load=FLASH, run=RAM, table(BINIT) | ||||
|     #else | ||||
|     .TI.ramfunc : {} load=FLASH | FLASH2, run=RAM, table(BINIT) | ||||
|     #endif | ||||
|   #endif | ||||
| #endif | ||||
|  | ||||
|     .infoA     : {} > INFOA              /* MSP430 INFO FLASH Memory segments */ | ||||
|     .infoB     : {} > INFOB | ||||
|     .infoC     : {} > INFOC | ||||
|     .infoD     : {} > INFOD | ||||
|  | ||||
|     /* MSP430 Interrupt vectors          */ | ||||
|     .int00       : {}               > INT00 | ||||
|     .int01       : {}               > INT01 | ||||
|     .int02       : {}               > INT02 | ||||
|     .int03       : {}               > INT03 | ||||
|     .int04       : {}               > INT04 | ||||
|     .int05       : {}               > INT05 | ||||
|     .int06       : {}               > INT06 | ||||
|     .int07       : {}               > INT07 | ||||
|     .int08       : {}               > INT08 | ||||
|     .int09       : {}               > INT09 | ||||
|     .int10       : {}               > INT10 | ||||
|     .int11       : {}               > INT11 | ||||
|     .int12       : {}               > INT12 | ||||
|     .int13       : {}               > INT13 | ||||
|     .int14       : {}               > INT14 | ||||
|     .int15       : {}               > INT15 | ||||
|     .int16       : {}               > INT16 | ||||
|     .int17       : {}               > INT17 | ||||
|     .int18       : {}               > INT18 | ||||
|     .int19       : {}               > INT19 | ||||
|     .int20       : {}               > INT20 | ||||
|     .int21       : {}               > INT21 | ||||
|     .int22       : {}               > INT22 | ||||
|     .int23       : {}               > INT23 | ||||
|     .int24       : {}               > INT24 | ||||
|     .int25       : {}               > INT25 | ||||
|     .int26       : {}               > INT26 | ||||
|     .int27       : {}               > INT27 | ||||
|     .int28       : {}               > INT28 | ||||
|     .int29       : {}               > INT29 | ||||
|     .int30       : {}               > INT30 | ||||
|     .int31       : {}               > INT31 | ||||
|     .int32       : {}               > INT32 | ||||
|     .int33       : {}               > INT33 | ||||
|     .int34       : {}               > INT34 | ||||
|     .int35       : {}               > INT35 | ||||
|     .int36       : {}               > INT36 | ||||
|     .int37       : {}               > INT37 | ||||
|     .int38       : {}               > INT38 | ||||
|     .int39       : {}               > INT39 | ||||
|     .int40       : {}               > INT40 | ||||
|     RTC          : { * ( .int41 ) } > INT41 type = VECT_INIT | ||||
|     PORT2        : { * ( .int42 ) } > INT42 type = VECT_INIT | ||||
|     TIMER2_A1    : { * ( .int43 ) } > INT43 type = VECT_INIT | ||||
|     TIMER2_A0    : { * ( .int44 ) } > INT44 type = VECT_INIT | ||||
|     USCI_B1      : { * ( .int45 ) } > INT45 type = VECT_INIT | ||||
|     USCI_A1      : { * ( .int46 ) } > INT46 type = VECT_INIT | ||||
|     PORT1        : { * ( .int47 ) } > INT47 type = VECT_INIT | ||||
|     TIMER1_A1    : { * ( .int48 ) } > INT48 type = VECT_INIT | ||||
|     TIMER1_A0    : { * ( .int49 ) } > INT49 type = VECT_INIT | ||||
|     DMA          : { * ( .int50 ) } > INT50 type = VECT_INIT | ||||
|     USB_UBM      : { * ( .int51 ) } > INT51 type = VECT_INIT | ||||
|     TIMER0_A1    : { * ( .int52 ) } > INT52 type = VECT_INIT | ||||
|     TIMER0_A0    : { * ( .int53 ) } > INT53 type = VECT_INIT | ||||
|     ADC12        : { * ( .int54 ) } > INT54 type = VECT_INIT | ||||
|     USCI_B0      : { * ( .int55 ) } > INT55 type = VECT_INIT | ||||
|     USCI_A0      : { * ( .int56 ) } > INT56 type = VECT_INIT | ||||
|     WDT          : { * ( .int57 ) } > INT57 type = VECT_INIT | ||||
|     TIMER0_B1    : { * ( .int58 ) } > INT58 type = VECT_INIT | ||||
|     TIMER0_B0    : { * ( .int59 ) } > INT59 type = VECT_INIT | ||||
|     COMP_B       : { * ( .int60 ) } > INT60 type = VECT_INIT | ||||
|     UNMI         : { * ( .int61 ) } > INT61 type = VECT_INIT | ||||
|     SYSNMI       : { * ( .int62 ) } > INT62 type = VECT_INIT | ||||
|     .reset       : {}               > RESET  /* MSP430 Reset vector         */ | ||||
| } | ||||
|  | ||||
| /****************************************************************************/ | ||||
| /* Include peripherals memory map                                           */ | ||||
| /****************************************************************************/ | ||||
|  | ||||
| -l msp430f5529.cmd | ||||
|  | ||||
							
								
								
									
										12
									
								
								CPE325/Lab1_Problem1/targetConfigs/MSP430F5529.ccxml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								CPE325/Lab1_Problem1/targetConfigs/MSP430F5529.ccxml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||||
| <configurations XML_version="1.2" id="configurations_0"> | ||||
|     <configuration XML_version="1.2" id="configuration_0"> | ||||
|         <instance XML_version="1.2" desc="TI MSP430 USB1" href="connections/TIMSP430-USB.xml" id="TI MSP430 USB1" xml="TIMSP430-USB.xml" xmlpath="connections"/> | ||||
|         <connection XML_version="1.2" id="TI MSP430 USB1"> | ||||
|             <instance XML_version="1.2" href="drivers/msp430_emu.xml" id="drivers" xml="msp430_emu.xml" xmlpath="drivers"/> | ||||
|             <platform XML_version="1.2" id="platform_0"> | ||||
|                 <instance XML_version="1.2" desc="MSP430F5529" href="devices/MSP430F5529.xml" id="MSP430F5529" xml="MSP430F5529.xml" xmlpath="devices"/> | ||||
|             </platform> | ||||
|         </connection> | ||||
|     </configuration> | ||||
| </configurations> | ||||
							
								
								
									
										9
									
								
								CPE325/Lab1_Problem1/targetConfigs/readme.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								CPE325/Lab1_Problem1/targetConfigs/readme.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| The 'targetConfigs' folder contains target-configuration (.ccxml) files, automatically generated based | ||||
| on the device and connection settings specified in your project on the Properties > General page. | ||||
|  | ||||
| Please note that in automatic target-configuration management, changes to the project's device and/or | ||||
| connection settings will either modify an existing or generate a new target-configuration file. Thus, | ||||
| if you manually edit these auto-generated files, you may need to re-apply your changes. Alternatively, | ||||
| you may create your own target-configuration file for this project and manage it manually. You can | ||||
| always switch back to automatic target-configuration management by checking the "Manage the project's | ||||
| target-configuration automatically" checkbox on the project's Properties > General page. | ||||
		Reference in New Issue
	
	Block a user
	 Andrew W
					Andrew W