diff --git a/.metadata/.log b/.metadata/.log
index 61a95a5..dbf1b8d 100644
--- a/.metadata/.log
+++ b/.metadata/.log
@@ -2244,3 +2244,289 @@ java.lang.Exception: Error erasing flash with vFlashErase packet
!ENTRY org.eclipse.cdt.core 1 0 2019-10-01 15:49:10.425
!MESSAGE Indexed 'lab3subroutines' (1 sources, 33 headers) in 0.605 sec: 1,056 declarations; 1,872 references; 0 unresolved inclusions; 0 syntax errors; 0 unresolved names (0%)
+
+!ENTRY fr.ac6.mcu.debug 4 5012 2019-10-07 20:40:59.143
+!MESSAGE Error in final launch sequence
+!STACK 1
+org.eclipse.core.runtime.CoreException: Failed to execute MI command:
+-target-select remote localhost:3333
+
+Error message from debugger back end:
+Remote communication error. Target disconnected.: No error.
+ at org.eclipse.cdt.dsf.concurrent.Query.get(Query.java:111)
+ at fr.ac6.mcu.debug.launching.MCUGDBJtagDSFLaunchConfigurationDelegate.launchDebugSession(MCUGDBJtagDSFLaunchConfigurationDelegate.java:248)
+ at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugger(GdbLaunchDelegate.java:101)
+ at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launch(GdbLaunchDelegate.java:90)
+ at fr.ac6.mcu.debug.launching.MCUGDBJtagDSFLaunchConfigurationDelegate.launch(MCUGDBJtagDSFLaunchConfigurationDelegate.java:306)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
+Caused by: java.lang.Exception: Remote communication error. Target disconnected.: No error.
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.processMIOutput(AbstractMIControl.java:941)
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.run(AbstractMIControl.java:770)
+!SUBENTRY 1 org.eclipse.cdt.dsf.gdb 4 10004 2019-10-07 20:40:59.144
+!MESSAGE Failed to execute MI command:
+-target-select remote localhost:3333
+
+Error message from debugger back end:
+Remote communication error. Target disconnected.: No error.
+!STACK 0
+java.lang.Exception: Remote communication error. Target disconnected.: No error.
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.processMIOutput(AbstractMIControl.java:941)
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.run(AbstractMIControl.java:770)
+
+!ENTRY fr.ac6.mcu.debug 4 5012 2019-10-07 20:40:59.202
+!MESSAGE Error in final launch sequence
+!STACK 1
+org.eclipse.core.runtime.CoreException: Failed to execute MI command:
+load C:\\Users\\barnestr\\Documents\\CE2801\\workspace\\lab3subroutines\\Debug\\lab3subroutines.elf
+
+Error message from debugger back end:
+Remote communication error. Target disconnected.: No error.
+ at org.eclipse.cdt.dsf.concurrent.Query.get(Query.java:111)
+ at fr.ac6.mcu.debug.launching.MCUGDBJtagDSFLaunchConfigurationDelegate.launchDebugSession(MCUGDBJtagDSFLaunchConfigurationDelegate.java:248)
+ at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugger(GdbLaunchDelegate.java:101)
+ at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launch(GdbLaunchDelegate.java:90)
+ at fr.ac6.mcu.debug.launching.MCUGDBJtagDSFLaunchConfigurationDelegate.launch(MCUGDBJtagDSFLaunchConfigurationDelegate.java:306)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
+Caused by: java.lang.Exception: Remote communication error. Target disconnected.: No error.
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.processMIOutput(AbstractMIControl.java:941)
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.run(AbstractMIControl.java:770)
+!SUBENTRY 1 org.eclipse.cdt.dsf.gdb 4 10004 2019-10-07 20:40:59.203
+!MESSAGE Failed to execute MI command:
+load C:\\Users\\barnestr\\Documents\\CE2801\\workspace\\lab3subroutines\\Debug\\lab3subroutines.elf
+
+Error message from debugger back end:
+Remote communication error. Target disconnected.: No error.
+!STACK 0
+java.lang.Exception: Remote communication error. Target disconnected.: No error.
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.processMIOutput(AbstractMIControl.java:941)
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.run(AbstractMIControl.java:770)
+
+!ENTRY fr.ac6.mcu.debug 4 5012 2019-10-07 20:56:27.036
+!MESSAGE Error in final launch sequence
+!STACK 1
+org.eclipse.core.runtime.CoreException: Failed to execute MI command:
+load C:\\Users\\barnestr\\Documents\\CE2801\\workspace\\lab3subroutines\\Debug\\lab3subroutines.elf
+
+Error message from debugger back end:
+Error erasing flash with vFlashErase packet
+ at org.eclipse.cdt.dsf.concurrent.Query.get(Query.java:111)
+ at fr.ac6.mcu.debug.launching.MCUGDBJtagDSFLaunchConfigurationDelegate.launchDebugSession(MCUGDBJtagDSFLaunchConfigurationDelegate.java:248)
+ at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugger(GdbLaunchDelegate.java:101)
+ at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launch(GdbLaunchDelegate.java:90)
+ at fr.ac6.mcu.debug.launching.MCUGDBJtagDSFLaunchConfigurationDelegate.launch(MCUGDBJtagDSFLaunchConfigurationDelegate.java:306)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
+Caused by: java.lang.Exception: Error erasing flash with vFlashErase packet
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.processMIOutput(AbstractMIControl.java:941)
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.run(AbstractMIControl.java:770)
+!SUBENTRY 1 org.eclipse.cdt.dsf.gdb 4 10004 2019-10-07 20:56:27.037
+!MESSAGE Failed to execute MI command:
+load C:\\Users\\barnestr\\Documents\\CE2801\\workspace\\lab3subroutines\\Debug\\lab3subroutines.elf
+
+Error message from debugger back end:
+Error erasing flash with vFlashErase packet
+!STACK 0
+java.lang.Exception: Error erasing flash with vFlashErase packet
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.processMIOutput(AbstractMIControl.java:941)
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.run(AbstractMIControl.java:770)
+
+!ENTRY fr.ac6.mcu.debug 4 5012 2019-10-08 09:51:05.952
+!MESSAGE Error in final launch sequence
+!STACK 1
+org.eclipse.core.runtime.CoreException: Failed to execute MI command:
+load C:\\Users\\barnestr\\Documents\\CE2801\\workspace\\lab3subroutines\\Debug\\lab3subroutines.elf
+
+Error message from debugger back end:
+Error erasing flash with vFlashErase packet
+ at org.eclipse.cdt.dsf.concurrent.Query.get(Query.java:111)
+ at fr.ac6.mcu.debug.launching.MCUGDBJtagDSFLaunchConfigurationDelegate.launchDebugSession(MCUGDBJtagDSFLaunchConfigurationDelegate.java:248)
+ at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugger(GdbLaunchDelegate.java:101)
+ at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launch(GdbLaunchDelegate.java:90)
+ at fr.ac6.mcu.debug.launching.MCUGDBJtagDSFLaunchConfigurationDelegate.launch(MCUGDBJtagDSFLaunchConfigurationDelegate.java:306)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
+Caused by: java.lang.Exception: Error erasing flash with vFlashErase packet
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.processMIOutput(AbstractMIControl.java:941)
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.run(AbstractMIControl.java:770)
+!SUBENTRY 1 org.eclipse.cdt.dsf.gdb 4 10004 2019-10-08 09:51:05.953
+!MESSAGE Failed to execute MI command:
+load C:\\Users\\barnestr\\Documents\\CE2801\\workspace\\lab3subroutines\\Debug\\lab3subroutines.elf
+
+Error message from debugger back end:
+Error erasing flash with vFlashErase packet
+!STACK 0
+java.lang.Exception: Error erasing flash with vFlashErase packet
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.processMIOutput(AbstractMIControl.java:941)
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.run(AbstractMIControl.java:770)
+
+!ENTRY fr.ac6.mcu.debug 4 5012 2019-10-08 09:51:19.847
+!MESSAGE Error in final launch sequence
+!STACK 1
+org.eclipse.core.runtime.CoreException: Failed to execute MI command:
+load C:\\Users\\barnestr\\Documents\\CE2801\\workspace\\lab3subroutines\\Debug\\lab3subroutines.elf
+
+Error message from debugger back end:
+Error erasing flash with vFlashErase packet
+ at org.eclipse.cdt.dsf.concurrent.Query.get(Query.java:111)
+ at fr.ac6.mcu.debug.launching.MCUGDBJtagDSFLaunchConfigurationDelegate.launchDebugSession(MCUGDBJtagDSFLaunchConfigurationDelegate.java:248)
+ at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugger(GdbLaunchDelegate.java:101)
+ at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launch(GdbLaunchDelegate.java:90)
+ at fr.ac6.mcu.debug.launching.MCUGDBJtagDSFLaunchConfigurationDelegate.launch(MCUGDBJtagDSFLaunchConfigurationDelegate.java:306)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
+Caused by: java.lang.Exception: Error erasing flash with vFlashErase packet
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.processMIOutput(AbstractMIControl.java:941)
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.run(AbstractMIControl.java:770)
+!SUBENTRY 1 org.eclipse.cdt.dsf.gdb 4 10004 2019-10-08 09:51:19.847
+!MESSAGE Failed to execute MI command:
+load C:\\Users\\barnestr\\Documents\\CE2801\\workspace\\lab3subroutines\\Debug\\lab3subroutines.elf
+
+Error message from debugger back end:
+Error erasing flash with vFlashErase packet
+!STACK 0
+java.lang.Exception: Error erasing flash with vFlashErase packet
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.processMIOutput(AbstractMIControl.java:941)
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.run(AbstractMIControl.java:770)
+
+!ENTRY fr.ac6.mcu.debug 4 5012 2019-10-08 15:33:04.018
+!MESSAGE Error in final launch sequence
+!STACK 1
+org.eclipse.core.runtime.CoreException: Failed to execute MI command:
+load C:\\Users\\barnestr\\Documents\\CE2801\\workspace\\lab3subroutines\\Debug\\lab3subroutines.elf
+
+Error message from debugger back end:
+Error erasing flash with vFlashErase packet
+ at org.eclipse.cdt.dsf.concurrent.Query.get(Query.java:111)
+ at fr.ac6.mcu.debug.launching.MCUGDBJtagDSFLaunchConfigurationDelegate.launchDebugSession(MCUGDBJtagDSFLaunchConfigurationDelegate.java:248)
+ at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugger(GdbLaunchDelegate.java:101)
+ at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launch(GdbLaunchDelegate.java:90)
+ at fr.ac6.mcu.debug.launching.MCUGDBJtagDSFLaunchConfigurationDelegate.launch(MCUGDBJtagDSFLaunchConfigurationDelegate.java:306)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
+Caused by: java.lang.Exception: Error erasing flash with vFlashErase packet
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.processMIOutput(AbstractMIControl.java:941)
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.run(AbstractMIControl.java:770)
+!SUBENTRY 1 org.eclipse.cdt.dsf.gdb 4 10004 2019-10-08 15:33:04.019
+!MESSAGE Failed to execute MI command:
+load C:\\Users\\barnestr\\Documents\\CE2801\\workspace\\lab3subroutines\\Debug\\lab3subroutines.elf
+
+Error message from debugger back end:
+Error erasing flash with vFlashErase packet
+!STACK 0
+java.lang.Exception: Error erasing flash with vFlashErase packet
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.processMIOutput(AbstractMIControl.java:941)
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.run(AbstractMIControl.java:770)
+
+!ENTRY org.eclipse.cdt.dsf 4 10005 2019-10-08 15:35:06.402
+!MESSAGE Request for monitor: 'RequestMonitor (org.eclipse.cdt.dsf.debug.ui.viewmodel.SteppingController$3@308daccb): Status ERROR: org.eclipse.cdt.dsf.gdb code=10004 Failed to execute MI command:
+-exec-next 1
+Error message from debugger back end:
+Invalid thread id: 1 java.lang.Exception: Invalid thread id: 1' resulted in an error.
+!SUBENTRY 1 org.eclipse.cdt.dsf.gdb 4 10004 2019-10-08 15:35:06.402
+!MESSAGE Failed to execute MI command:
+-exec-next 1
+Error message from debugger back end:
+Invalid thread id: 1
+!STACK 0
+java.lang.Exception: Invalid thread id: 1
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.processMIOutput(AbstractMIControl.java:941)
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.run(AbstractMIControl.java:770)
+
+!ENTRY fr.ac6.mcu.debug 4 5012 2019-10-08 16:10:19.151
+!MESSAGE Error in final launch sequence
+!STACK 1
+org.eclipse.core.runtime.CoreException: Failed to execute MI command:
+-target-select remote localhost:3333
+
+Error message from debugger back end:
+Remote communication error. Target disconnected.: No error.
+ at org.eclipse.cdt.dsf.concurrent.Query.get(Query.java:111)
+ at fr.ac6.mcu.debug.launching.MCUGDBJtagDSFLaunchConfigurationDelegate.launchDebugSession(MCUGDBJtagDSFLaunchConfigurationDelegate.java:248)
+ at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugger(GdbLaunchDelegate.java:101)
+ at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launch(GdbLaunchDelegate.java:90)
+ at fr.ac6.mcu.debug.launching.MCUGDBJtagDSFLaunchConfigurationDelegate.launch(MCUGDBJtagDSFLaunchConfigurationDelegate.java:306)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
+Caused by: java.lang.Exception: Remote communication error. Target disconnected.: No error.
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.processMIOutput(AbstractMIControl.java:941)
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.run(AbstractMIControl.java:770)
+!SUBENTRY 1 org.eclipse.cdt.dsf.gdb 4 10004 2019-10-08 16:10:19.152
+!MESSAGE Failed to execute MI command:
+-target-select remote localhost:3333
+
+Error message from debugger back end:
+Remote communication error. Target disconnected.: No error.
+!STACK 0
+java.lang.Exception: Remote communication error. Target disconnected.: No error.
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.processMIOutput(AbstractMIControl.java:941)
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.run(AbstractMIControl.java:770)
+
+!ENTRY fr.ac6.mcu.debug 4 5012 2019-10-08 16:11:38.208
+!MESSAGE Error in final launch sequence
+!STACK 1
+org.eclipse.core.runtime.CoreException: Failed to execute MI command:
+-target-select remote localhost:3333
+
+Error message from debugger back end:
+Remote communication error. Target disconnected.: No error.
+ at org.eclipse.cdt.dsf.concurrent.Query.get(Query.java:111)
+ at fr.ac6.mcu.debug.launching.MCUGDBJtagDSFLaunchConfigurationDelegate.launchDebugSession(MCUGDBJtagDSFLaunchConfigurationDelegate.java:248)
+ at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugger(GdbLaunchDelegate.java:101)
+ at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launch(GdbLaunchDelegate.java:90)
+ at fr.ac6.mcu.debug.launching.MCUGDBJtagDSFLaunchConfigurationDelegate.launch(MCUGDBJtagDSFLaunchConfigurationDelegate.java:306)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
+Caused by: java.lang.Exception: Remote communication error. Target disconnected.: No error.
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.processMIOutput(AbstractMIControl.java:941)
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.run(AbstractMIControl.java:770)
+!SUBENTRY 1 org.eclipse.cdt.dsf.gdb 4 10004 2019-10-08 16:11:38.209
+!MESSAGE Failed to execute MI command:
+-target-select remote localhost:3333
+
+Error message from debugger back end:
+Remote communication error. Target disconnected.: No error.
+!STACK 0
+java.lang.Exception: Remote communication error. Target disconnected.: No error.
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.processMIOutput(AbstractMIControl.java:941)
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.run(AbstractMIControl.java:770)
+
+!ENTRY org.eclipse.cdt.dsf 4 10005 2019-10-08 16:11:46.508
+!MESSAGE Request for monitor: 'RequestMonitor (org.eclipse.cdt.dsf.concurrent.RequestMonitor@34bb33d4): Status ERROR: org.eclipse.cdt.dsf.gdb code=10004 Failed to execute MI command:
+-exec-continue
+Error message from debugger back end:
+Invalid thread id: 1 java.lang.Exception: Invalid thread id: 1' resulted in an error.
+!SUBENTRY 1 org.eclipse.cdt.dsf.gdb 4 10004 2019-10-08 16:11:46.508
+!MESSAGE Failed to execute MI command:
+-exec-continue
+Error message from debugger back end:
+Invalid thread id: 1
+!STACK 0
+java.lang.Exception: Invalid thread id: 1
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.processMIOutput(AbstractMIControl.java:941)
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.run(AbstractMIControl.java:770)
diff --git a/.metadata/.plugins/org.eclipse.cdt.ui/global-build.log b/.metadata/.plugins/org.eclipse.cdt.ui/global-build.log
index a1b259c..d4af2f8 100644
--- a/.metadata/.plugins/org.eclipse.cdt.ui/global-build.log
+++ b/.metadata/.plugins/org.eclipse.cdt.ui/global-build.log
@@ -962,3 +962,1172 @@ arm-none-eabi-size "lab3subroutines.elf"
text data bss dec hex filename
972 1080 1092 3144 c48 lab3subroutines.elf
+19:41:30 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/delay.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/delay.o" "../src/delay.s"
+../src/delay.s: Assembler messages:
+../src/delay.s: Warning: end of file not at end of a line; newline inserted
+../src/delay.s:17: Error: junk at end of line, first unrecognized character is `1'
+../src/delay.s:18: Error: instruction not supported in Thumb16 mode -- `subs r1,#1'
+../src/delay.s:19: Error: garbage following instruction -- `bne 1ms_delay'
+../src/delay.s:20: Error: instruction not supported in Thumb16 mode -- `subs r0,#1'
+../src/delay.s:16: Error: invalid immediate: 16000 is out of range
+src/subdir.mk:21: recipe for target 'src/delay.o' failed
+make: *** [src/delay.o] Error 1
+19:44:54 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/delay.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/delay.o" "../src/delay.s"
+../src/delay.s: Assembler messages:
+../src/delay.s:16: Error: invalid immediate: 8000 is out of range
+src/subdir.mk:21: recipe for target 'src/delay.o' failed
+make: *** [src/delay.o] Error 1
+19:46:22 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/delay.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/delay.o" "../src/delay.s"
+../src/delay.s: Assembler messages:
+../src/delay.s:15: Error: immediate expression requires a # prefix -- `mov r1,0x3E80'
+make: *** [src/delay.o] Error 1
+src/subdir.mk:21: recipe for target 'src/delay.o' failed
+19:46:34 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/delay.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/delay.o" "../src/delay.s"
+../src/delay.s: Assembler messages:
+../src/delay.s:15: Error: invalid immediate: 16000 is out of range
+make: *** [src/delay.o] Error 1
+src/subdir.mk:21: recipe for target 'src/delay.o' failed
+19:47:06 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/delay.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/delay.o" "../src/delay.s"
+../src/delay.s: Assembler messages:
+../src/delay.s:15: Error: invalid immediate: 4000 is out of range
+src/subdir.mk:21: recipe for target 'src/delay.o' failed
+make: *** [src/delay.o] Error 1
+19:47:42 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/delay.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/delay.o" "../src/delay.s"
+../src/delay.s: Assembler messages:
+../src/delay.s:15: Error: invalid immediate: 2000 is out of range
+make: *** [src/delay.o] Error 1
+src/subdir.mk:21: recipe for target 'src/delay.o' failed
+19:48:03 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/delay.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/delay.o" "../src/delay.s"
+../src/delay.s: Assembler messages:
+../src/delay.s:15: Error: invalid immediate: 1000 is out of range
+src/subdir.mk:21: recipe for target 'src/delay.o' failed
+make: *** [src/delay.o] Error 1
+19:49:04 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/delay.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/delay.o" "../src/delay.s"
+../src/delay.s: Assembler messages:
+../src/delay.s:15: Error: r15 based store not allowed -- `str r1,#0x3E8'
+make: *** [src/delay.o] Error 1
+src/subdir.mk:21: recipe for target 'src/delay.o' failed
+19:54:26 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/delay.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/delay.o" "../src/delay.s"
+Finished building: ../src/delay.s
+
+Building file: ../src/led.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/led.o" "../src/led.s"
+../src/led.s: Assembler messages:
+../src/led.s: Warning: end of file not at end of a line; newline inserted
+Finished building: ../src/led.s
+
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+Finished building: ../src/main.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1088 1080 1092 3260 cbc lab3subroutines.elf
+
+20:03:23 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/delay.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/delay.o" "../src/delay.s"
+Finished building: ../src/delay.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1096 1080 1092 3268 cc4 lab3subroutines.elf
+
+20:03:28 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+20:04:07 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+20:04:12 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+20:05:37 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/delay.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/delay.o" "../src/delay.s"
+Finished building: ../src/delay.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1096 1080 1092 3268 cc4 lab3subroutines.elf
+
+20:09:40 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+Finished building: ../src/main.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1096 1080 1092 3268 cc4 lab3subroutines.elf
+
+20:11:46 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+20:12:09 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+20:15:19 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+Finished building: ../src/main.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1108 1080 1092 3280 cd0 lab3subroutines.elf
+
+20:22:50 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+Finished building: ../src/main.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1108 1080 1092 3280 cd0 lab3subroutines.elf
+
+20:23:19 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+20:23:55 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+20:29:04 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/delay.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/delay.o" "../src/delay.s"
+Finished building: ../src/delay.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1108 1080 1092 3280 cd0 lab3subroutines.elf
+
+20:39:57 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/delay.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/delay.o" "../src/delay.s"
+../src/delay.s: Assembler messages:
+../src/delay.s:14: Error: junk at end of line, first unrecognized character is `1'
+../src/delay.s:36: Error: garbage following instruction -- `bne 1ms_delay'
+src/subdir.mk:21: recipe for target 'src/delay.o' failed
+make: *** [src/delay.o] Error 1
+20:40:29 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/delay.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/delay.o" "../src/delay.s"
+Finished building: ../src/delay.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1108 1080 1092 3280 cd0 lab3subroutines.elf
+
+20:40:44 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+20:40:57 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+20:41:05 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+20:41:18 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+20:41:32 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+20:42:06 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+20:43:11 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+Finished building: ../src/main.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1108 1080 1092 3280 cd0 lab3subroutines.elf
+
+20:43:55 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+Finished building: ../src/main.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1108 1080 1092 3280 cd0 lab3subroutines.elf
+
+20:46:51 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+Finished building: ../src/main.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1108 1080 1092 3280 cd0 lab3subroutines.elf
+
+20:48:10 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+Finished building: ../src/main.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1096 1080 1092 3268 cc4 lab3subroutines.elf
+
+20:48:43 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+20:51:05 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/delay.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/delay.o" "../src/delay.s"
+Finished building: ../src/delay.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1096 1080 1092 3268 cc4 lab3subroutines.elf
+
+20:56:21 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/delay.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/delay.o" "../src/delay.s"
+Finished building: ../src/delay.s
+
+Building file: ../src/led.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/led.o" "../src/led.s"
+../src/led.s: Assembler messages:
+../src/led.s: Warning: end of file not at end of a line; newline inserted
+Finished building: ../src/led.s
+
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+Finished building: ../src/main.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1108 1080 1092 3280 cd0 lab3subroutines.elf
+
+20:56:54 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+23:32:46 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/delay.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/delay.o" "../src/delay.s"
+Finished building: ../src/delay.s
+
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+../src/main.s: Assembler messages:
+../src/main.s:70: Error: constant expression required -- `ubfx r2,r0,r1,#4'
+../src/main.s:80: Error: constant expression required -- `bfi r0,r2,r1,#4'
+../src/main.s:51: Error: invalid constant (270f) after fixup
+make: *** [src/main.o] Error 1
+src/subdir.mk:21: recipe for target 'src/main.o' failed
+09:19:05 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/led.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/led.o" "../src/led.s"
+../src/led.s: Assembler messages:
+../src/led.s: Warning: end of file not at end of a line; newline inserted
+../src/led.s:63: Error: junk at end of line, first unrecognized character is `:'
+src/subdir.mk:21: recipe for target 'src/led.o' failed
+make: *** [src/led.o] Error 1
+09:19:24 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/led.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/led.o" "../src/led.s"
+../src/led.s: Assembler messages:
+../src/led.s: Warning: end of file not at end of a line; newline inserted
+Finished building: ../src/led.s
+
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+../src/main.s: Assembler messages:
+../src/main.s:37: Error: invalid constant (270f) after fixup
+../src/main.s: Error: local label `"4" (instance number 2 of a fb label)' is not defined
+make: *** [src/main.o] Error 1
+src/subdir.mk:21: recipe for target 'src/main.o' failed
+09:21:25 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+../src/main.s: Assembler messages:
+../src/main.s: Error: local label `"4" (instance number 2 of a fb label)' is not defined
+make: *** [src/main.o] Error 1
+src/subdir.mk:21: recipe for target 'src/main.o' failed
+09:23:04 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+Finished building: ../src/main.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1224 1080 1092 3396 d44 lab3subroutines.elf
+
+09:23:43 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+09:33:37 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+../src/main.s: Assembler messages:
+../src/main.s:83: Error: immediate value out of range -- `bfi r1,#3,#4,#4'
+src/subdir.mk:21: recipe for target 'src/main.o' failed
+make: *** [src/main.o] Error 1
+09:38:17 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+../src/main.s: Assembler messages:
+../src/main.s:86: Error: immediate value out of range -- `bfi r1,#0x00000030,#4,#4'
+make: *** [src/main.o] Error 1
+src/subdir.mk:21: recipe for target 'src/main.o' failed
+09:39:02 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+Finished building: ../src/main.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1240 1080 1092 3412 d54 lab3subroutines.elf
+
+09:44:04 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/led.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/led.o" "../src/led.s"
+Finished building: ../src/led.s
+
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+Finished building: ../src/main.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1288 1080 1092 3460 d84 lab3subroutines.elf
+
+09:50:53 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/led.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/led.o" "../src/led.s"
+Finished building: ../src/led.s
+
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+Finished building: ../src/main.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1296 1080 1092 3468 d8c lab3subroutines.elf
+
+09:51:01 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+09:51:15 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+09:51:52 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+14:28:30 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/led.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/led.o" "../src/led.s"
+Finished building: ../src/led.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1316 1080 1092 3488 da0 lab3subroutines.elf
+
+14:42:23 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/led.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/led.o" "../src/led.s"
+Finished building: ../src/led.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1324 1080 1092 3496 da8 lab3subroutines.elf
+
+14:59:31 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+../src/main.s: Assembler messages:
+../src/main.s:25: Error: bad instruction `num_to_led'
+../src/main.s:28: Error: bad instruction `delay_ms'
+make: *** [src/main.o] Error 1
+src/subdir.mk:21: recipe for target 'src/main.o' failed
+14:59:56 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+Finished building: ../src/main.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+src/main.o: In function `main_loop':
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug/../src/main.s:23: undefined reference to `num_to_ASCII'
+collect2.exe: error: ld returned 1 exit status
+makefile:34: recipe for target 'lab3subroutines.elf' failed
+make: *** [lab3subroutines.elf] Error 1
+15:00:38 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+Finished building: ../src/main.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1348 1080 1092 3520 dc0 lab3subroutines.elf
+
+15:01:06 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+Finished building: ../src/main.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1344 1080 1092 3516 dbc lab3subroutines.elf
+
+15:32:57 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/led.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/led.o" "../src/led.s"
+Finished building: ../src/led.s
+
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+Finished building: ../src/main.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1324 1080 1092 3496 da8 lab3subroutines.elf
+
+15:33:33 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+15:33:59 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+15:34:36 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+15:35:43 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+15:36:58 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/led.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/led.o" "../src/led.s"
+Finished building: ../src/led.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1324 1080 1092 3496 da8 lab3subroutines.elf
+
+15:40:04 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/led.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/led.o" "../src/led.s"
+Finished building: ../src/led.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1324 1080 1092 3496 da8 lab3subroutines.elf
+
+15:44:59 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/led.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/led.o" "../src/led.s"
+Finished building: ../src/led.s
+
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+Finished building: ../src/main.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1348 1080 1092 3520 dc0 lab3subroutines.elf
+
+15:45:26 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+15:52:12 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+Finished building: ../src/main.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1348 1080 1092 3520 dc0 lab3subroutines.elf
+
+16:10:14 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/delay.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/delay.o" "../src/delay.s"
+Finished building: ../src/delay.s
+
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+Finished building: ../src/main.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1412 1080 1092 3584 e00 lab3subroutines.elf
+
+16:10:40 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+16:11:13 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+16:11:36 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+16:12:06 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+16:13:15 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+16:14:11 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/led.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/led.o" "../src/led.s"
+Finished building: ../src/led.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1412 1080 1092 3584 e00 lab3subroutines.elf
+
+16:14:55 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+16:16:12 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+Finished building: ../src/main.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1424 1080 1092 3596 e0c lab3subroutines.elf
+
+16:17:51 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/led.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/led.o" "../src/led.s"
+Finished building: ../src/led.s
+
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+Finished building: ../src/main.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1424 1080 1092 3596 e0c lab3subroutines.elf
+
+16:18:20 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/led.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/led.o" "../src/led.s"
+Finished building: ../src/led.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1424 1080 1092 3596 e0c lab3subroutines.elf
+
+16:22:26 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+Finished building: ../src/main.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1440 1080 1092 3612 e1c lab3subroutines.elf
+
+16:23:07 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+16:26:58 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+Finished building: ../src/main.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1424 1080 1092 3596 e0c lab3subroutines.elf
+
+16:28:04 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+16:30:59 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+Finished building: ../src/main.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1424 1080 1092 3596 e0c lab3subroutines.elf
+
+16:31:03 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+16:31:27 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+16:32:03 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+16:34:15 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+Finished building: ../src/main.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1428 1080 1092 3600 e10 lab3subroutines.elf
+
+16:34:36 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+16:35:54 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+16:36:19 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+make: Nothing to be done for 'all'.
+16:36:52 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/main.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
+Finished building: ../src/main.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1412 1080 1092 3584 e00 lab3subroutines.elf
+
+16:42:47 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/led.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/led.o" "../src/led.s"
+../src/led.s: Assembler messages:
+../src/led.s:119: Error: constant expression required -- `bfc r2,r2'
+make: *** [src/led.o] Error 1
+src/subdir.mk:21: recipe for target 'src/led.o' failed
+16:43:06 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/led.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/led.o" "../src/led.s"
+Finished building: ../src/led.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1412 1080 1092 3584 e00 lab3subroutines.elf
+
+16:44:47 **** Incremental Build of configuration Debug for project lab3subroutines ****
+make all
+Building file: ../src/led.s
+Invoking: MCU GCC Assembler
+C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\Debug
+arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/led.o" "../src/led.s"
+Finished building: ../src/led.s
+
+Building target: lab3subroutines.elf
+Invoking: MCU GCC Linker
+arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab3subroutines\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab3subroutines.elf" @"objects.list" -lm
+Finished building target: lab3subroutines.elf
+
+make --no-print-directory post-build
+Generating binary and Printing size information:
+arm-none-eabi-objcopy -O binary "lab3subroutines.elf" "lab3subroutines.bin"
+arm-none-eabi-size "lab3subroutines.elf"
+ text data bss dec hex filename
+ 1420 1080 1092 3592 e08 lab3subroutines.elf
+
diff --git a/.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/.markers.snap b/.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/.markers.snap
index a7ddbe1..7381145 100644
Binary files a/.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/.markers.snap and b/.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/.markers.snap differ
diff --git a/.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/.syncinfo.snap b/.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/.syncinfo.snap
index a7ddbe1..7381145 100644
Binary files a/.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/.syncinfo.snap and b/.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/.syncinfo.snap differ
diff --git a/.metadata/.plugins/org.eclipse.core.resources/.root/.markers.snap b/.metadata/.plugins/org.eclipse.core.resources/.root/.markers.snap
index a7ddbe1..7381145 100644
Binary files a/.metadata/.plugins/org.eclipse.core.resources/.root/.markers.snap and b/.metadata/.plugins/org.eclipse.core.resources/.root/.markers.snap differ
diff --git a/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources b/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources
index ba3f513..249991d 100644
Binary files a/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources and b/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources differ
diff --git a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.ui.prefs b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.ui.prefs
index 3716ef5..64b7151 100644
--- a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.ui.prefs
+++ b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.ui.prefs
@@ -3,7 +3,9 @@ org.eclipse.debug.ui.MemoryView.orientation=0
org.eclipse.debug.ui.PREF_LAUNCH_PERSPECTIVES=\r\n\r\n
org.eclipse.debug.ui.switch_perspective_on_suspend=always
org.eclipse.debug.ui.user_view_bindings=\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
+pref_state_memento.org.eclipse.debug.ui.BreakpointView=\r\n\r\n\r\n\r\n\r\n
pref_state_memento.org.eclipse.debug.ui.DebugVieworg.eclipse.debug.ui.DebugView=\r\n
-pref_state_memento.org.eclipse.debug.ui.RegisterView=\r\n\r\n\r\n\r\njava.lang.String\r\n\r\n\r\n\r\n
+pref_state_memento.org.eclipse.debug.ui.RegisterView=\r\n\r\n\r\n\r\njava.lang.String\r\n\r\n\r\n\r\n\r\n\r\n\r\n
+pref_state_memento.org.eclipse.debug.ui.VariableView=\r\n\r\n\r\n\r\n\r\n
preferredDetailPanes=NumberFormatPane\:NumberFormatPane|DefaultDetailPane\:DefaultDetailPane|
preferredTargets=org.eclipse.cdt.debug.ui.toggleCBreakpointTarget,org.eclipse.cdt.debug.ui.toggleCDynamicPrintfTarget\:org.eclipse.cdt.debug.ui.toggleCBreakpointTarget|
diff --git a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.launchbar.core.prefs b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.launchbar.core.prefs
index 3be0243..3cbe39a 100644
--- a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.launchbar.core.prefs
+++ b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.launchbar.core.prefs
@@ -1,7 +1,8 @@
LaunchTargetManager/org.eclipse.launchbar.core.launchTargetType.local,Local/arch=x86_64
LaunchTargetManager/org.eclipse.launchbar.core.launchTargetType.local,Local/os=win32
-configDescList=org.eclipse.launchbar.core.descriptorType.default\:lab1 Debug,org.eclipse.launchbar.core.descriptorType.default\:lab2barnestr Debug
+configDescList=org.eclipse.launchbar.core.descriptorType.default\:lab1 Debug,org.eclipse.launchbar.core.descriptorType.default\:lab2barnestr Debug,org.eclipse.launchbar.core.descriptorType.default\:lab3subroutines Debug
eclipse.preferences.version=1
org.eclipse.launchbar.core.descriptorType.default\:lab1\ Debug/activeLaunchMode=run
org.eclipse.launchbar.core.descriptorType.default\:lab1\ Debug/activeLaunchTarget=org.eclipse.launchbar.core.launchTargetType.local\:Local
org.eclipse.launchbar.core.descriptorType.default\:lab2barnestr\ Debug/activeLaunchMode=run
+org.eclipse.launchbar.core.descriptorType.default\:lab3subroutines\ Debug/activeLaunchMode=debug
diff --git a/.metadata/.plugins/org.eclipse.debug.ui/launchConfigurationHistory.xml b/.metadata/.plugins/org.eclipse.debug.ui/launchConfigurationHistory.xml
index a8353db..24c0e96 100644
--- a/.metadata/.plugins/org.eclipse.debug.ui/launchConfigurationHistory.xml
+++ b/.metadata/.plugins/org.eclipse.debug.ui/launchConfigurationHistory.xml
@@ -6,7 +6,7 @@
-
+
@@ -20,7 +20,7 @@
-
+
diff --git a/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi b/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
index 0852ad8..e55bff9 100644
--- a/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
+++ b/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
@@ -1,9 +1,9 @@
-
-
+
+
activeSchemeId:org.eclipse.ui.defaultAcceleratorConfiguration
ModelMigrationProcessor.001
-
+
@@ -11,9 +11,9 @@
topLevel
-
-
-
+
+
+
persp.actionSet:org.eclipse.mylyn.doc.actionSet
persp.actionSet:org.eclipse.mylyn.tasks.ui.navigation
@@ -70,35 +70,35 @@
persp.actionSet:org.eclipse.debug.ui.profileActionSet
persp.viewSC:org.eclipse.mylyn.tasks.ui.views.tasks
persp.newWizSC:org.eclipse.mylyn.tasks.ui.wizards.new.repository.task
-
-
+
+
noFocus
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
+
Debug
-
-
-
-
-
+
+
+
+
+
-
+
persp.actionSet:org.eclipse.mylyn.doc.actionSet
persp.actionSet:org.eclipse.mylyn.tasks.ui.navigation
@@ -138,2975 +138,3012 @@
persp.viewSC:org.eclipse.pde.runtime.LogView
persp.showIn:org.eclipse.egit.ui.RepositoriesView
persp.perspSC:org.eclipse.wst.xml.ui.perspective
-
-
-
-
-
+
+
+
+
+
org.eclipse.e4.primaryNavigationStack
-
-
+ active
+
+
-
-
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
+
+
+
org.eclipse.e4.secondaryNavigationStack
-
-
+
+
-
+
org.eclipse.e4.secondaryDataStack
Debug
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
-
+
View
categoryTag:Help
-
+
View
categoryTag:General
-
+
ViewMenu
menuContribution:menu
-
+
-
+
View
categoryTag:Help
-
-
+
+
org.eclipse.e4.primaryDataStack
EditorStack
- active
- noFocus
-
-
+
+
Editor
org.eclipse.cdt.ui.editor.asm.AsmEditor
removeOnHide
- active
-
+
menuContribution:popup
popup:#ASMEditorContext
popup:org.eclipse.cdt.ui.editor.asm.AsmEditor.EditorContext
popup:#AbstractTextEditorContext
-
+
menuContribution:popup
popup:#ASMEditorRulerContext
popup:org.eclipse.cdt.ui.editor.asm.AsmEditor.RulerContext
popup:#AbstractTextEditorRulerContext
-
+
menuContribution:popup
popup:#OverviewRulerContext
-
-
+
+
Editor
org.eclipse.cdt.ui.editor.asm.AsmEditor
removeOnHide
-
+
menuContribution:popup
popup:#ASMEditorContext
popup:org.eclipse.cdt.ui.editor.asm.AsmEditor.EditorContext
popup:#AbstractTextEditorContext
-
+
menuContribution:popup
popup:#ASMEditorRulerContext
popup:org.eclipse.cdt.ui.editor.asm.AsmEditor.RulerContext
popup:#AbstractTextEditorRulerContext
-
+
menuContribution:popup
popup:#OverviewRulerContext
-
-
+
+
Editor
org.eclipse.cdt.ui.editor.asm.AsmEditor
removeOnHide
-
+
menuContribution:popup
popup:#ASMEditorContext
popup:org.eclipse.cdt.ui.editor.asm.AsmEditor.EditorContext
popup:#AbstractTextEditorContext
-
+
menuContribution:popup
popup:#ASMEditorRulerContext
popup:org.eclipse.cdt.ui.editor.asm.AsmEditor.RulerContext
popup:#AbstractTextEditorRulerContext
-
+
+ menuContribution:popup
+ popup:#OverviewRulerContext
+
+
+
+
+ Editor
+ org.eclipse.cdt.ui.editor.asm.AsmEditor
+ removeOnHide
+
+ menuContribution:popup
+ popup:#ASMEditorContext
+ popup:org.eclipse.cdt.ui.editor.asm.AsmEditor.EditorContext
+ popup:#AbstractTextEditorContext
+
+
+ menuContribution:popup
+ popup:#ASMEditorRulerContext
+ popup:org.eclipse.cdt.ui.editor.asm.AsmEditor.RulerContext
+ popup:#AbstractTextEditorRulerContext
+
+
menuContribution:popup
popup:#OverviewRulerContext
-
+
View
categoryTag:General
-
+
ViewMenu
menuContribution:menu
-
+
menuContribution:popup
popup:org.eclipse.ui.navigator.ProjectExplorer#PopupMenu
-
+
menuContribution:popup
popup:org.eclipse.ui.navigator.ProjectExplorer#PopupMenu
-
+
menuContribution:popup
popup:org.eclipse.ui.navigator.ProjectExplorer#PopupMenu
-
+
-
+
View
categoryTag:C/C++
-
+
View
categoryTag:General
-
+
View
categoryTag:General
-
+
View
categoryTag:General
-
+
ViewMenu
menuContribution:menu
-
+
menuContribution:popup
popup:org.eclipse.ui.views.ProblemView
popup:org.eclipse.ui.ide.MarkersView
-
+
menuContribution:popup
popup:org.eclipse.ui.views.ProblemView
popup:org.eclipse.ui.ide.MarkersView
-
+
menuContribution:popup
popup:org.eclipse.ui.views.ProblemView
popup:org.eclipse.ui.ide.MarkersView
-
+
-
+
View
categoryTag:General
-
+
ViewMenu
menuContribution:menu
-
+
-
+
View
categoryTag:General
-
+
ViewMenu
menuContribution:menu
-
+
menuContribution:popup
popup:org.eclipse.cdt.ui.CDTGlobalBuildConsole
-
+
menuContribution:popup
popup:org.eclipse.cdt.ui.CDTBuildConsole
-
+
menuContribution:popup
popup:org.eclipse.cdt.ui.CDTGlobalBuildConsole
-
+
menuContribution:popup
popup:org.eclipse.cdt.ui.CDTBuildConsole
-
+
+ menuContribution:popup
+ popup:org.eclipse.debug.ui.ProcessConsoleType.#ContextMenu
+
+
-
+
View
categoryTag:General
-
+
View
categoryTag:General
-
+
ViewMenu
menuContribution:menu
-
+
menuContribution:popup
popup:#ASMOutlineContext
-
+
menuContribution:popup
popup:#ASMOutlineContext
-
+
menuContribution:popup
popup:#ASMOutlineContext
-
+
menuContribution:popup
popup:#ASMOutlineContext
-
+
+ menuContribution:popup
+ popup:#ASMOutlineContext
+
+
-
+
View
categoryTag:Make
-
+
View
categoryTag:Mylyn
-
+
View
categoryTag:Debug
-
+
ViewMenu
menuContribution:menu
-
+
+ menuContribution:popup
+ popup:GdbBasicCliConsole.#ContextMenu
+
+
-
+
View
categoryTag:Debug
-
+ active
+
ViewMenu
menuContribution:menu
-
+
menuContribution:popup
popup:org.eclipse.debug.ui.DebugView
-
+
menuContribution:popup
popup:org.eclipse.debug.ui.DebugView
-
+
menuContribution:popup
popup:org.eclipse.debug.ui.DebugView
-
+
menuContribution:popup
popup:org.eclipse.debug.ui.DebugView
-
+
-
+
View
categoryTag:Debug
-
+
ViewMenu
menuContribution:menu
-
+
menuContribution:popup
popup:org.eclipse.debug.ui.VariableView.detail
-
+
menuContribution:popup
popup:org.eclipse.debug.ui.VariableView
-
+
menuContribution:popup
popup:org.eclipse.debug.ui.VariableView.detail
-
+
menuContribution:popup
popup:org.eclipse.debug.ui.VariableView
-
+
-
+
View
categoryTag:Debug
-
+
ViewMenu
menuContribution:menu
-
+
menuContribution:popup
popup:org.eclipse.debug.ui.VariableView.detail
-
+
menuContribution:popup
popup:org.eclipse.debug.ui.BreakpointView
-
+
menuContribution:popup
popup:org.eclipse.debug.ui.VariableView.detail
-
+
menuContribution:popup
popup:org.eclipse.debug.ui.BreakpointView
-
+
-
+
View
categoryTag:Debug
-
+
View
categoryTag:Debug
-
+
ViewMenu
menuContribution:menu
-
+
menuContribution:popup
popup:org.eclipse.debug.ui.VariableView.detail
-
+
menuContribution:popup
popup:org.eclipse.debug.ui.RegisterView
-
+
+ menuContribution:popup
+ popup:org.eclipse.debug.ui.VariableView.detail
+
+
-
+
View
categoryTag:Debug
-
+
ViewMenu
menuContribution:menu
-
+
-
+
View
categoryTag:Debug
-
+
View
categoryTag:Debug
-
+
ViewMenu
menuContribution:menu
-
+
menuContribution:popup
popup:org.eclipse.debug.ui.VariableView.detail
-
+
menuContribution:popup
popup:org.eclipse.debug.ui.ModuleView
-
+
-
+
View
categoryTag:Debug
-
+
ViewMenu
menuContribution:menu
-
+
-
+
View
categoryTag:Debug
-
+
View
categoryTag:Debug
-
+
View
categoryTag:Debug
-
+
View
categoryTag:Debug
-
+
ViewMenu
menuContribution:menu
-
+
menuContribution:popup
popup:org.eclipse.debug.ui.MemoryView.MemoryBlocksTreeViewPane
-
+
-
-
+
+
toolbarSeparator
-
+
-
+
Draggable
-
+
Opaque
-
+
Opaque
-
+
Opaque
-
+
Opaque
-
+
Opaque
-
+
Opaque
-
+
Opaque
-
-
+
+
Opaque
-
+
Opaque
-
+
Opaque
-
+
Opaque
-
+
Opaque
-
+
Opaque
-
+
Opaque
-
+
toolbarSeparator
-
+
-
+
Draggable
-
+
Opaque
-
+
Opaque
-
+
Opaque
-
+
Opaque
-
+
Opaque
-
+
Draggable
-
+
Opaque
-
+
Opaque
-
+
Opaque
-
+
Opaque
-
+
Opaque
-
+
Draggable
-
+
Opaque
-
+
Opaque
-
+
Opaque
-
+
Opaque
-
+
Draggable
-
+
Opaque
-
+
Opaque
-
+
Opaque
-
+
Opaque
-
+
Opaque
-
+
toolbarSeparator
-
+
-
+
Draggable
-
+
Opaque
-
+
Opaque
-
+
Opaque
-
+
Opaque
-
+
Opaque
-
-
+
+
Opaque
-
+
Opaque
-
+
Opaque
-
+
Draggable
-
+
toolbarSeparator
-
+
-
+
toolbarSeparator
-
+
-
+
Draggable
-
+
Opaque
-
+
Opaque
-
+
stretch
SHOW_RESTORE_MENU
-
+
Draggable
HIDEABLE
SHOW_RESTORE_MENU
-
-
+
+
stretch
-
+
Draggable
-
+
Draggable
-
-
+
+
TrimStack
Draggable
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
platform:cocoa
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
platform:win32
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
+
+
+
-
-
+
+
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
platform:cocoa
-
+
platform:cocoa
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
platform:cocoa
-
+
platform:cocoa
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
platform:cocoa
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
+
+
+
-
-
+
+
-
-
-
+
+
+
-
-
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
+
+
-
-
+
+
platform:win32
-
-
+
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Editor
-
+
View
categoryTag:Debug
-
+
View
categoryTag:C/C++
-
+
View
categoryTag:Debug
-
+
View
categoryTag:Debug
-
+
View
categoryTag:Debug
-
+
View
categoryTag:Debug
-
+
View
categoryTag:Debug
-
+
View
categoryTag:Debug
-
+
View
categoryTag:Debug
-
+
View
categoryTag:Make
-
+
View
categoryTag:C/C++
-
+
View
categoryTag:C/C++
-
+
View
categoryTag:C/C++
-
+
View
categoryTag:C/C++
-
+
View
categoryTag:C/C++
-
+
View
categoryTag:General
-
+
View
categoryTag:Debug
-
+
View
categoryTag:Debug
-
+
View
categoryTag:Debug
-
+
View
categoryTag:Debug
-
+
View
categoryTag:Debug
-
+
View
categoryTag:Debug
-
+
View
categoryTag:Debug
-
+
View
categoryTag:Git
-
+
View
categoryTag:Git
-
+
View
categoryTag:Git
-
+
View
categoryTag:Git
-
+
View
categoryTag:Git
-
+
View
categoryTag:General
-
+
View
categoryTag:Help
-
+
View
categoryTag:Charts
-
+
View
categoryTag:Profiling
-
+
View
categoryTag:Profiling
-
+
View
categoryTag:Profiling
-
+
View
categoryTag:Maven
-
+
View
categoryTag:Maven
-
+
View
categoryTag:Mylyn
-
+
View
categoryTag:Mylyn
-
+
View
categoryTag:Mylyn
-
+
View
categoryTag:Oomph
-
+
View
categoryTag:Connections
-
+
View
categoryTag:Remote Systems
-
+
View
categoryTag:Remote Systems
-
+
View
categoryTag:Remote Systems
-
+
View
categoryTag:Remote Systems
-
+
View
categoryTag:Remote Systems
-
+
View
categoryTag:Remote Systems
-
+
View
categoryTag:Remote Systems
-
+
View
categoryTag:General
-
+
View
categoryTag:General
-
+
View
categoryTag:SVN
-
+
View
categoryTag:SVN
-
+
View
categoryTag:SVN
-
+
View
categoryTag:SVN
-
+
View
categoryTag:SVN
-
+
View
categoryTag:Team
-
+
View
categoryTag:Team
-
+
View
categoryTag:LTTng
-
+
View
categoryTag:Tracing
-
+
View
categoryTag:LTTng
-
+
View
categoryTag:LTTng
-
+
View
categoryTag:LTTng
-
+
View
categoryTag:LTTng
-
+
View
categoryTag:LTTng
-
+
View
categoryTag:LTTng
-
+
View
categoryTag:LTTng
-
+
View
categoryTag:LTTng
-
+
View
categoryTag:LTTng
-
+
View
categoryTag:Tracing
-
+
View
categoryTag:Tracing
-
+
View
categoryTag:Tracing
-
+
View
categoryTag:LTTng
-
+
View
categoryTag:Tracing
-
+
View
categoryTag:LTTng
-
+
View
categoryTag:LTTng
-
+
View
categoryTag:LTTng
-
+
View
categoryTag:Tracing
-
+
View
categoryTag:Tracing
-
+
View
categoryTag:Tracing
-
+
View
categoryTag:Tracing
-
+
View
categoryTag:Tracing
-
+
View
categoryTag:Tracing
-
+
View
categoryTag:Tracing
-
+
View
categoryTag:Tracing
-
+
View
categoryTag:Tracing
-
+
View
categoryTag:Tracing
-
+
View
categoryTag:Tracing
-
+
View
categoryTag:Tracing
-
+
View
categoryTag:Tracing
-
+
View
categoryTag:General
-
+
View
categoryTag:General
-
+
View
categoryTag:Help
-
+
View
categoryTag:General
-
+
View
categoryTag:General
-
+
View
categoryTag:General
-
+
View
categoryTag:General
-
+
View
categoryTag:General
-
+
View
categoryTag:General
-
+
View
categoryTag:General
-
+
View
categoryTag:General
-
+
View
categoryTag:General
-
+
View
categoryTag:General
-
+
View
categoryTag:General
-
+
View
categoryTag:XML
-
+
View
categoryTag:XML
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/lab3subroutines/lab3subroutines Debug.cfg b/lab3subroutines/lab3subroutines Debug.cfg
new file mode 100644
index 0000000..561d480
--- /dev/null
+++ b/lab3subroutines/lab3subroutines Debug.cfg
@@ -0,0 +1,28 @@
+# This is an NUCLEO-F446RE board with a single STM32F446RETx chip
+#
+# Generated by System Workbench for STM32
+# Take care that such file, as generated, may be overridden without any early notice. Please have a look to debug launch configuration setup(s)
+
+source [find interface/stlink.cfg]
+
+set WORKAREASIZE 0x8000
+
+transport select "hla_swd"
+
+set CHIPNAME STM32F446RETx
+
+# Enable debug when in low power modes
+set ENABLE_LOW_POWER 1
+
+# Stop Watchdog counters when halt
+set STOP_WATCHDOG 1
+
+# STlink Debug clock frequency
+set CLOCK_FREQ 4000
+
+# use hardware reset, connect under reset
+# connect_assert_srst needed if low power mode application running (WFI...)
+reset_config srst_only srst_nogate connect_assert_srst
+set CONNECT_UNDER_RESET 1
+
+source [find target/stm32f4x.cfg]
diff --git a/lab3subroutines/src/delay.s b/lab3subroutines/src/delay.s
new file mode 100644
index 0000000..527ca88
--- /dev/null
+++ b/lab3subroutines/src/delay.s
@@ -0,0 +1,38 @@
+# delay.s
+# Trevor Barnes
+# CE2801-031
+# Description: A file for handling delay routines
+
+
+.global delay_ms
+# A subroutine to create a delay of a certain number of milliseconds
+# Input:
+# r0: Length of delay (ms)
+delay_ms:
+
+ push {r1,r2,r3}
+ mov r3,r0
+ms_delay:
+ # 250 iterations = 1/16 of a millisecond
+ mov r2, #0x10
+# Loop 16 times
+1:
+ # 250
+ mov r1, #0xFA
+# Loop 250 times
+2:
+ sub r1, #1
+ cmp r1, #0
+ bne 2b
+
+ sub r2, #1
+ cmp r2, #0
+ bne 1b
+
+ sub r0, #1
+ cmp r0, #0
+ bne ms_delay
+
+ mov r0,r3
+ pop {r1,r2,r3}
+ bx lr
diff --git a/lab3subroutines/src/led.s b/lab3subroutines/src/led.s
index bd2dc62..6ea6f59 100644
--- a/lab3subroutines/src/led.s
+++ b/lab3subroutines/src/led.s
@@ -23,3 +23,104 @@
.equ GPIO_MODER, 0x00
# GPIO Output Data Register
.equ GPIO_ODR, 0x14
+
+.global num_to_LED_init
+# Initializes the GPIO port pins to be outputs
+num_to_LED_init:
+
+ # Store registers before use
+ push {r1,r2,r3}
+
+
+ ldr r1, =RCC_BASE
+
+ # Read, Modify, Write
+ ldr r2, [r1, #RCC_AHB1ENR]
+ orr r2, r2, #RCC_GPIOBEN
+ str r2, [r1, #RCC_AHB1ENR]
+
+ # Enable PB5-PB10, PB12-PB15 to be outputs
+
+ ldr r1, =GPIOB_BASE
+
+ ldr r2, [r1, #GPIO_MODER]
+
+ movw r3, #0x5400
+ movt r3, #0x5515
+ orr r2, r2, r3
+
+ movw r3, #0xA800
+ movt r3, #0xAA2A
+ bic r2, r2, r3
+
+ str r2, [r1, #GPIO_MODER]
+
+ # Return the original register values
+ pop {r1,r2,r3}
+ # Branch back to link location
+ bx lr
+
+.global LED_test_loop
+
+LED_test_loop:
+
+ push {r0,r1,r2,lr}
+
+ bl num_to_LED_init
+ ldr r1, =GPIOB_BASE
+
+loop:
+
+ ldr r2,[r1,#GPIO_ODR]
+ orr r2,r2,#0x0020
+ str r2,[r1,#GPIO_ODR]
+
+ mov r0, #0x3E8
+ bl delay_ms
+
+ ldr r2,[r1,#GPIO_ODR]
+ bic r2,r2,#0x0020
+ str r2,[r1,#GPIO_ODR]
+
+ mov r0, #0x3E8
+ bl delay_ms
+
+ b loop
+
+ pop {r0,r1,r2,pc}
+
+.global num_to_LED
+# Takes in a 10-bit value and displays it on the LEDs in binary
+# Input:
+# r0: Input binary value
+num_to_LED:
+
+ push {r1,r2,lr}
+
+ bl num_to_LED_init
+ # Extract "pre-PB11" bit field
+ ubfx r1, r0, #0, #6
+ # extract "post-PB11" bit field
+ ubfx r2, r2, #6, #4
+ # Clear input register
+ mov r0, #0
+ # Insert bit field PB5-PB10
+ bfi r0, r1, #5, #6
+ # Insert bit field PB12-PB15
+ bfi r0, r2, #12, #4
+
+ # Clear register values before use
+ mov r1, #0
+ mov r2, #0
+ ldr r1, =GPIOB_BASE
+
+ ldr r2,[r1,#GPIO_ODR]
+ bfc r2,#0,#16
+ str r2,[r1,#GPIO_ODR]
+
+ ldr r2,[r1,#GPIO_ODR]
+ orr r2,r2,r0
+ str r2,[r1,#GPIO_ODR]
+
+ pop {r1,r2,pc}
+ bx lr
diff --git a/lab3subroutines/src/main.s b/lab3subroutines/src/main.s
index 9efa845..e582062 100644
--- a/lab3subroutines/src/main.s
+++ b/lab3subroutines/src/main.s
@@ -12,4 +12,136 @@
.global main
main:
+ mov r0, #0
+ mov r1, #0
+ mov r2, #0
+main_loop:
+
+ mov r0, #1234
+ bl num_to_ASCII
+ mov r1, r0
+ # r1 is 4 character ASCII value
+ mov r0, #500
+ # Display 1
+ ubfx r0, r1, #24, #8
+ bl num_to_LED
+ mov r0, #500
+ bl delay_ms
+ # Display 2
+ ubfx r0, r1, #16, #8
+ bl num_to_LED
+ mov r0, #500
+ bl delay_ms
+ # Display 3
+ ubfx r0, r1, #8, #8
+ bl num_to_LED
+ mov r0, #500
+ bl delay_ms
+ # Display 4
+ ubfx r0, r1, #0, #8
+ bl num_to_LED
+ mov r0, #500
+ bl delay_ms
+ b main_loop
+
+
+end:
+ b end
+.global num_to_ASCII
+
+# Takes in a value from 0-9999 and converts it to ASCII
+# Input:
+# r0: Input binary value
+# Output:
+# r1: Output 4 ASCII characters
+num_to_ASCII:
+
+ # If outside of range, return ASCII "Err."
+ push {r1,r2,r3,lr}
+
+ cmp r0,#0
+ blt out_of_range
+ @ cmp r0,#9999
+ @ bgt out_of_range
+
+ # Normal conversion behavior
+ mov r1, #16
+ lsl r0, #3
+ sub r1, #3
+shift_cycle:
+
+ lsl r0, #1
+ sub r1, #1
+
+# Verify Each Nibble is less than or equal to 4
+ ubfx r2, r0, #16, #4
+ # If value is less than or equal to 4, then skip to next nibble
+ cmp r2, #4
+ ble 2f
+ add r2, #3
+ bfi r0, r2, #16, #4
+2: ubfx r2, r0, #20, #4
+ # If value is less than or equal to 4, then skip to next nibble
+ cmp r2, #4
+ ble 3f
+ add r2, #3
+ bfi r0, r2, #20, #4
+3: ubfx r2, r0, #24, #4
+ # If value is less than or equal to 4, then skip to next nibble
+ cmp r2, #4
+ ble 4f
+ add r2, #3
+ bfi r0, r2, #24, #4
+4: ubfx r2, r0, #28, #4
+ # If value is less than or equal to 4 skip to end
+ cmp r2, #4
+ ble end_verify_nibbles
+ add r2, #3
+ bfi r0, r2, #28, #4
+end_verify_nibbles:
+
+ # If value hasn't been shifted 16 times, shift again
+ cmp r1, #0
+ bne shift_cycle
+ mov r3, #3
+# Encode BCD numbers to ASCII
+
+ # Extract ones nibble
+ ubfx r2, r0, #16, #4
+ # Insert ones nibble
+ bfi r1, r2, #0, #4
+ # Insert 3 in front of nibble for ASCII encoding
+ bfi r1, r3, #4, #4
+
+ # Extract tens nibble
+ ubfx r2, r0, #20, #4
+ # Insert tens nibble
+ bfi r1, r2, #8, #4
+ # Insert 3 in front of nibble for ASCII encoding
+ bfi r1, r3, #12, #4
+
+ # Extract hundreds nibble
+ ubfx r2, r0, #24, #4
+ # Insert hundreds nibble
+ bfi r1, r2, #16, #4
+ # Insert 3 in front of nibble for ASCII encoding
+ bfi r1, r3, #20, #4
+
+ # Extract thousands nibble
+ ubfx r2, r0, #28, #4
+ # Insert thousands nibble
+ bfi r1, r2, #24, #4
+ # Insert 3 in front of nibble for ASCII encoding
+ bfi r1, r3, #28, #4
+
+ b end_ASCII
+out_of_range:
+ # Insert ASCII "Err."
+ movw r1, #0x722E
+ movt r1, #0x4572
+
+end_ASCII:
+ mov r0, r1
+ pop {r1,r2,r3,lr}
+ bx lr