summaryrefslogtreecommitdiff
path: root/cmpen472hw4_McDonnell
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2025-02-14 18:20:46 -0500
committerJacob McDonnell <jacob@jacobmcdonnell.com>2025-02-14 18:20:46 -0500
commit7b2d0640e6209539d80e79126d3b05ff8bf88176 (patch)
tree46cd3c6455e37e1654aaf96c753454ecca223fbd /cmpen472hw4_McDonnell
parentdb27faf84654f0084542536e538044a0458bb554 (diff)
HW4 Finished
Diffstat (limited to 'cmpen472hw4_McDonnell')
-rw-r--r--cmpen472hw4_McDonnell/Full_Chip_Simulation.ini2
-rw-r--r--cmpen472hw4_McDonnell/Sources/cmpen472hw4_McDonnell.asm172
-rw-r--r--cmpen472hw4_McDonnell/Sources/main.asm86
-rw-r--r--cmpen472hw4_McDonnell/bin/Project.absbin3402 -> 3398 bytes
-rw-r--r--cmpen472hw4_McDonnell/bin/Project.abs.s198
-rw-r--r--cmpen472hw4_McDonnell/bin/main.dbg86
-rw-r--r--cmpen472hw4_McDonnell/cmpen472hw4_McDonnell_Data/Standard/ObjectCode/main.asm.obin3402 -> 3398 bytes
-rw-r--r--cmpen472hw4_McDonnell/cmpen472hw4_McDonnell_Data/Standard/ObjectCode/main.asm.sx8
-rw-r--r--cmpen472hw4_McDonnell/cmpen472hw4_McDonnell_Data/Standard/TargetDataWindows.tdtbin62658 -> 62658 bytes
9 files changed, 267 insertions, 95 deletions
diff --git a/cmpen472hw4_McDonnell/Full_Chip_Simulation.ini b/cmpen472hw4_McDonnell/Full_Chip_Simulation.ini
index 0ea39fd..e7c287d 100644
--- a/cmpen472hw4_McDonnell/Full_Chip_Simulation.ini
+++ b/cmpen472hw4_McDonnell/Full_Chip_Simulation.ini
@@ -10,7 +10,7 @@ Target=sim
Layout=Full_Chip_Simulation.hwl
LoadDialogOptions=AUTOERASEANDFLASH NORUNAFTERLOAD
CPU=HC12
-MainFrame=2,3,-32000,-32000,-1,-1,985,223,2200,1246
+MainFrame=2,3,-1,-1,-1,-1,985,223,2200,1246
Configuration=Full_Chip_Simulation.hwc
Statusbar=1
ShowToolbar=1
diff --git a/cmpen472hw4_McDonnell/Sources/cmpen472hw4_McDonnell.asm b/cmpen472hw4_McDonnell/Sources/cmpen472hw4_McDonnell.asm
new file mode 100644
index 0000000..87a8a3c
--- /dev/null
+++ b/cmpen472hw4_McDonnell/Sources/cmpen472hw4_McDonnell.asm
@@ -0,0 +1,172 @@
+**************************************************************************
+*
+* Title: LED Light Dimmer Loop
+*
+* Objective: CMPEN 472 Homework 4
+*
+* Revision: V1.0
+*
+* Date: Feb. 14, 2025
+*
+* Programmer: Jacob McDonnell
+*
+* Company: The Pennsylvania State University
+* Department of Computer Science and Engineering
+*
+* Algorithm: Simple Parallel I/O use, time delay-loop, and PWM control
+*
+* Register Use: A to control LEDS initially and for Light Level
+* X to hold the counter in the loop.
+*
+* Memory Use: RAM Locations from $3000 for data,
+* RAM Locations from $3100 for program
+*
+* Input: Parameters hard-coded in the program - PORTB
+* Switch 1 at PORTB bit 0
+* Switch 2 at PORTB bit 1
+* Switch 3 at PORTB bit 2
+* Switch 4 at PORTB bit 3
+*
+* Output: LED 1 at PORTB bit 4
+* LED 2 at PORTB bit 5
+* LED 3 at PORTB bit 6
+* LED 4 at PORTB bit 7
+*
+* Observation: This program will decrease LED 4 from 100% to 0% in 400ms
+* and then increase LED 4 from 0% to 100% in 400ms. The program
+* will loop forever.
+*
+* Note: ON CSM-12C128 board,
+* Switch 1 is at PORTB bit 0, and
+* LED 4 is at PORTB bit 7.
+*
+* Comments: This program is developed and simulated using CodeWarrior
+* development software and targeted for Axion
+* Manufacturing's CSM-12C128 board running at 24MHz.
+*
+**************************************************************************
+* Parameter Declearation Section
+*
+* Export Symbols
+ xdef pgstart ; export 'pgstart' symbol
+ absentry pgstart ; for assembly entry point
+
+* Symbols and Macros
+PORTA equ $0000 ; i/o port A addresses
+DDRA equ $0002 ; data direction register for PORTA
+PORTB equ $0001 ; i/o port B addresses
+DDRB equ $0003 ; data direction register for PORTB
+
+**************************************************************************
+* Data Section: address used [ $3000 to $30FF ] RAM Memory
+*
+ org $3000 ; Reserved RAM memory starting address
+ ; for Data for CMPEN 472 class
+Counter dc.w $0036 ; X register count number for time Delay
+ ; loop for 10 useconds
+ ; The work to calculate this number is in
+ ; the comments for the delay10usec subroutine.
+
+LEVEL dc.b $0005 ; Light Level that the LED should be
+
+*
+**************************************************************************
+* Program Section: address used [ $3100 to $3FFF ] RAM Memory
+*
+ org $3100 ; Program start address, in RAM
+pgstart lds #$3100 ; initialize the stack pointer
+
+ ldaa #%11110001 ; LED 1,2,3,4 at PORTB bit 4,5,6,7
+ staa DDRB ; set PORTB bit 4,5,6,7 as output
+
+
+ ldaa #%01010000
+ staa PORTB ; Turn on only LEDs 1 & 3 on PORTB
+
+mainLoop
+ ldaa #100 ; load 100 into accumulator A
+decrease tbeq A,increase ; Test if A == 0, skip loop if so
+ staa LEVEL ; store A in counter LEVEL
+ jsr dimmer ; jump to dimmer subroutine
+ jsr dimmer ; jump to dimmer subroutine
+ jsr dimmer ; jump to dimmer subroutine
+ jsr dimmer ; jump to dimmer subroutine
+ deca ; decrement accumulator A by 1
+ bra decrease ; loop to decrease always
+increase cmpa #100 ; Compare A to 100
+ beq mainLoop ; Test if A == 100, jump to mainLoop
+ staa LEVEL ; store A in counter LEVEL
+ jsr dimmer ; jump to dimmer subroutine
+ jsr dimmer ; jump to dimmer subroutine
+ jsr dimmer ; jump to dimmer subroutine
+ jsr dimmer ; jump to dimmer subroutine
+ inca ; increment accumulator A by 1
+ bra increase ; loop to increase always
+
+**************************************************************************
+* Subroutine Section: address used [ $3100 to $3FFF ] RAM Memory
+*
+
+;*************************************************************************
+; dimmer subroutine
+;
+; This subroutine will dim LED4 to a given level
+;
+; Input: Two 1 byte counters, ONN and OFF, for how many times
+; LED4 should be on and off for.
+; Output: LED4 dimmed to a given level, wasted cycles
+; Registers in use: A accumulator to counter number of times looped
+; Memory locations in use: Two bytes ONN and OFF used to dim the LED4 to a given level
+;
+; Comments: This subroutine requires delay10usec subroutine
+;
+
+dimmer
+ bset PORTB,%10000000 ; Turn LED4 on
+ psha ; Save A to the stack
+ ldaa LEVEL ; Load the light level into accumulator A
+onDelay tbeq A, skipToOff ; Test if A == 0, skip loop if so
+ jsr delay10usec ; delay for 10 microseconds
+ deca ; decrement accumulator A by 1
+ bra onDelay ; jump back to onDelay always
+skipToOff bclr PORTB,%10000000 ; Turn off LED4
+ ldaa #100 ; load 100 into accumulator A
+ suba LEVEL ; Subtract LEVEL to get off count
+offDelay tbeq A,doneLoop ; Test if A == 0, skip loop if so
+ jsr delay10usec ; delay 10 microseconds
+ deca ; decrement accumulator A by 1
+ bra offDelay ; jump back to offDelay always
+doneLoop pula ; restore A from the stack
+ rts ; return to caller
+
+;*************************************************************************
+; delay10usec subroutine
+;
+; This subroutine causes a 10 usec. delay
+;
+; Input: a 16bit count number in 'Counter'
+; Output: time delay, cpu cycle wasted
+; Registers in use: X register, as counter
+; Memory locations in use: a 16bit input number at 'Counter'
+;
+; Comments: Code relies on counter being $39 to be exactly 10 usec work is below
+; Given: freq = 24MHz = 24000000 sec = 10 usec = 0.00001
+; freq = cycles / seconds
+;
+; cycles = freq * seconds = 24000000Hz * 0.00001 = 240
+;
+; This sub routine is 12 + 4 * 'Counter' cycles long, solving for 'Counter'
+; the result is found to be 57.
+;
+
+delay10usec
+ pshx ; Save register x to the stack
+ ldx Counter ; load counter into register x
+innerLoop dex ; decrement register x by 1
+ bne innerLoop ; loop while register x is not 0
+ pulx ; restore register x from the stack
+ nop ; extra nop to make exactly 10 usec
+ rts ; return to caller
+
+ end ; last line of the file
+
diff --git a/cmpen472hw4_McDonnell/Sources/main.asm b/cmpen472hw4_McDonnell/Sources/main.asm
index bbf1a9a..87a8a3c 100644
--- a/cmpen472hw4_McDonnell/Sources/main.asm
+++ b/cmpen472hw4_McDonnell/Sources/main.asm
@@ -1,22 +1,22 @@
**************************************************************************
*
-* Title: LED Light Dimmer
+* Title: LED Light Dimmer Loop
*
-* Objective: CMPEN 472 Homework 3
+* Objective: CMPEN 472 Homework 4
*
* Revision: V1.0
*
-* Date: Feb. 5, 2025
+* Date: Feb. 14, 2025
*
* Programmer: Jacob McDonnell
*
* Company: The Pennsylvania State University
* Department of Computer Science and Engineering
*
-* Algorithm: Simple Parallel I/O use and time delay-loop demo
+* Algorithm: Simple Parallel I/O use, time delay-loop, and PWM control
*
-* Register Use: A: LED Light on/off state and Switch 1 on/off state
-* X: Delay loop counter
+* Register Use: A to control LEDS initially and for Light Level
+* X to hold the counter in the loop.
*
* Memory Use: RAM Locations from $3000 for data,
* RAM Locations from $3100 for program
@@ -32,8 +32,9 @@
* LED 3 at PORTB bit 6
* LED 4 at PORTB bit 7
*
-* Observation: This program will dim the LED4 to either 5% when the
-* switch is not pressed and 15% when the switch is pressed.
+* Observation: This program will decrease LED 4 from 100% to 0% in 400ms
+* and then increase LED 4 from 0% to 100% in 400ms. The program
+* will loop forever.
*
* Note: ON CSM-12C128 board,
* Switch 1 is at PORTB bit 0, and
@@ -83,25 +84,24 @@ pgstart lds #$3100 ; initialize the stack pointer
staa PORTB ; Turn on only LEDs 1 & 3 on PORTB
mainLoop
- ldaa #100 ; 1 ; load 100 into accumulator A
- ldab #100 ; 1 ; load 100 into accumulator B
-decrease tbeq A,increase ; 3 ; Test if A == 0, skip loop if so
- staa LEVEL ; 3 ; store A in counter LEVEL
- jsr dimmer ; 4 + 25,135 ; jump to dimmer subroutine
- jsr dimmer ; 4 + 25,135 ; jump to dimmer subroutine
- jsr dimmer ; 4 + 25,135 ; jump to dimmer subroutine
- jsr dimmer ; 4 + 25,135 ; jump to dimmer subroutine
- deca ; 1 ; decrement accumulator A by 1
- bra decrease ; 3 ; loop to decrease always
-increase tbeq B,mainLoop ; 3 ; Test if B == 0, go back to mainLoop if so
- staa LEVEL ; 3 ; store A in counter LEVEL
- jsr dimmer ; 4 + 25,135 ; jump to dimmer subroutine
- jsr dimmer ; 4 + 25,135 ; jump to dimmer subroutine
- jsr dimmer ; 4 + 25,135 ; jump to dimmer subroutine
- jsr dimmer ; 4 + 25,135 ; jump to dimmer subroutine
- inca ; 1 ; increment accumulator A by 1
- decb ; 1 ; decrement accumulator B by 1
- bra increase ; 3 ; loop to increase always
+ ldaa #100 ; load 100 into accumulator A
+decrease tbeq A,increase ; Test if A == 0, skip loop if so
+ staa LEVEL ; store A in counter LEVEL
+ jsr dimmer ; jump to dimmer subroutine
+ jsr dimmer ; jump to dimmer subroutine
+ jsr dimmer ; jump to dimmer subroutine
+ jsr dimmer ; jump to dimmer subroutine
+ deca ; decrement accumulator A by 1
+ bra decrease ; loop to decrease always
+increase cmpa #100 ; Compare A to 100
+ beq mainLoop ; Test if A == 100, jump to mainLoop
+ staa LEVEL ; store A in counter LEVEL
+ jsr dimmer ; jump to dimmer subroutine
+ jsr dimmer ; jump to dimmer subroutine
+ jsr dimmer ; jump to dimmer subroutine
+ jsr dimmer ; jump to dimmer subroutine
+ inca ; increment accumulator A by 1
+ bra increase ; loop to increase always
**************************************************************************
* Subroutine Section: address used [ $3100 to $3FFF ] RAM Memory
@@ -122,22 +122,22 @@ increase tbeq B,mainLoop ; 3 ; Test if B == 0, go back to mainLoo
;
dimmer
- bset PORTB,%10000000 ; 6 ; Turn LED4 on
- psha ; 2 ; Save A to the stack
- ldaa LEVEL ; 3 ; Load the light level into accumulator A
-onDelay tbeq A, skipToOff ; 3 ; Test if A == 0, skip loop if so
- jsr delay10usec ; 244 ; delay for 10 microseconds
- deca ; 1 ; decrement accumulator A by 1
- bra onDelay ; 3, 1; jump back to onDelay always
-skipToOff bclr PORTB,%10000000 ; 6 ; Turn off LED4
- ldaa #100 ; 1 ; load 100 into accumulator A
- suba LEVEL ; 3 ; Subtract LEVEL to get off count
-offDelay tbeq A,doneLoop ; 3 ; Test if A == 0, skip loop if so
- jsr delay10usec ; 244 ; delay 10 microseconds
- deca ; 1 ; decrement accumulator A by 1
- bra offDelay ; 3, 1; jump back to offDelay always
-doneLoop pula ; 3 ; restore A from the stack
- rts ; 5 ; return to caller
+ bset PORTB,%10000000 ; Turn LED4 on
+ psha ; Save A to the stack
+ ldaa LEVEL ; Load the light level into accumulator A
+onDelay tbeq A, skipToOff ; Test if A == 0, skip loop if so
+ jsr delay10usec ; delay for 10 microseconds
+ deca ; decrement accumulator A by 1
+ bra onDelay ; jump back to onDelay always
+skipToOff bclr PORTB,%10000000 ; Turn off LED4
+ ldaa #100 ; load 100 into accumulator A
+ suba LEVEL ; Subtract LEVEL to get off count
+offDelay tbeq A,doneLoop ; Test if A == 0, skip loop if so
+ jsr delay10usec ; delay 10 microseconds
+ deca ; decrement accumulator A by 1
+ bra offDelay ; jump back to offDelay always
+doneLoop pula ; restore A from the stack
+ rts ; return to caller
;*************************************************************************
; delay10usec subroutine
diff --git a/cmpen472hw4_McDonnell/bin/Project.abs b/cmpen472hw4_McDonnell/bin/Project.abs
index 2810115..c7cfa1a 100644
--- a/cmpen472hw4_McDonnell/bin/Project.abs
+++ b/cmpen472hw4_McDonnell/bin/Project.abs
Binary files differ
diff --git a/cmpen472hw4_McDonnell/bin/Project.abs.s19 b/cmpen472hw4_McDonnell/bin/Project.abs.s19
index 82aa46b..44b157e 100644
--- a/cmpen472hw4_McDonnell/bin/Project.abs.s19
+++ b/cmpen472hw4_McDonnell/bin/Project.abs.s19
@@ -1,7 +1,7 @@
S0580000433A5C55736572735C4A61636F62204D63446F6E6E656C6C5C446F63756D656E74735C434D50454E2D3437322D48575C636D70656E3437326877345F4D63446F6E6E656C6C5C62696E5C50726F6A6563742E6162734C
S10630000036058E
-S1233100CF310086F15A0386505A018664C6640440127A300216313A16313A16313A1631C6
-S12331203A4320EB0451E47A300216313A16313A16313A16313A425320EA4C018036B63092
-S12331400204400616315D4320F74D01808664B0300204400616315D4320F7323D34FE306E
-S10A3160000926FD30A73D24
+S1233100CF310086F15A0386505A0186640440127A3002163138163138163138163138437B
+S123312020EB816427E57A30021631381631381631381631384220EA4C018036B6300204AC
+S1233140400616315B4320F74D01808664B0300204400616315B4320F7323D34FE3000096F
+S108316026FD30A73D2F
S9030000FC
diff --git a/cmpen472hw4_McDonnell/bin/main.dbg b/cmpen472hw4_McDonnell/bin/main.dbg
index 4154ae3..853722f 100644
--- a/cmpen472hw4_McDonnell/bin/main.dbg
+++ b/cmpen472hw4_McDonnell/bin/main.dbg
@@ -1,22 +1,22 @@
**************************************************************************
*
-* Title: LED Light Dimmer
+* Title: LED Light Dimmer Loop
*
-* Objective: CMPEN 472 Homework 3
+* Objective: CMPEN 472 Homework 4
*
* Revision: V1.0
*
-* Date: Feb. 5, 2025
+* Date: Feb. 14, 2025
*
* Programmer: Jacob McDonnell
*
* Company: The Pennsylvania State University
* Department of Computer Science and Engineering
*
-* Algorithm: Simple Parallel I/O use and time delay-loop demo
+* Algorithm: Simple Parallel I/O use, time delay-loop, and PWM control
*
-* Register Use: A: LED Light on/off state and Switch 1 on/off state
-* X: Delay loop counter
+* Register Use: A to control LEDS initially and for Light Level
+* X to hold the counter in the loop.
*
* Memory Use: RAM Locations from $3000 for data,
* RAM Locations from $3100 for program
@@ -32,8 +32,9 @@
* LED 3 at PORTB bit 6
* LED 4 at PORTB bit 7
*
-* Observation: This program will dim the LED4 to either 5% when the
-* switch is not pressed and 15% when the switch is pressed.
+* Observation: This program will decrease LED 4 from 100% to 0% in 400ms
+* and then increase LED 4 from 0% to 100% in 400ms. The program
+* will loop forever.
*
* Note: ON CSM-12C128 board,
* Switch 1 is at PORTB bit 0, and
@@ -83,25 +84,24 @@ pgstart lds #$3100 ; initialize the stack pointer
staa PORTB ; Turn on only LEDs 1 & 3 on PORTB
mainLoop
- ldaa #100 ; 1 ; load 100 into accumulator A
- ldab #100 ; 1 ; load 100 into accumulator B
-decrease tbeq A,increase ; 3 ; Test if A == 0, skip loop if so
- staa LEVEL ; 3 ; store A in counter LEVEL
- jsr dimmer ; 4 + 25,135 ; jump to dimmer subroutine
- jsr dimmer ; 4 + 25,135 ; jump to dimmer subroutine
- jsr dimmer ; 4 + 25,135 ; jump to dimmer subroutine
- jsr dimmer ; 4 + 25,135 ; jump to dimmer subroutine
- deca ; 1 ; decrement accumulator A by 1
- bra decrease ; 3 ; loop to decrease always
-increase tbeq B,mainLoop ; 3 ; Test if B == 0, go back to mainLoop if so
- staa LEVEL ; 3 ; store A in counter LEVEL
- jsr dimmer ; 4 + 25,135 ; jump to dimmer subroutine
- jsr dimmer ; 4 + 25,135 ; jump to dimmer subroutine
- jsr dimmer ; 4 + 25,135 ; jump to dimmer subroutine
- jsr dimmer ; 4 + 25,135 ; jump to dimmer subroutine
- inca ; 1 ; increment accumulator A by 1
- decb ; 1 ; decrement accumulator B by 1
- bra increase ; 3 ; loop to increase always
+ ldaa #100 ; load 100 into accumulator A
+decrease tbeq A,increase ; Test if A == 0, skip loop if so
+ staa LEVEL ; store A in counter LEVEL
+ jsr dimmer ; jump to dimmer subroutine
+ jsr dimmer ; jump to dimmer subroutine
+ jsr dimmer ; jump to dimmer subroutine
+ jsr dimmer ; jump to dimmer subroutine
+ deca ; decrement accumulator A by 1
+ bra decrease ; loop to decrease always
+increase cmpa #100 ; Compare A to 100
+ beq mainLoop ; Test if A == 100, jump to mainLoop
+ staa LEVEL ; store A in counter LEVEL
+ jsr dimmer ; jump to dimmer subroutine
+ jsr dimmer ; jump to dimmer subroutine
+ jsr dimmer ; jump to dimmer subroutine
+ jsr dimmer ; jump to dimmer subroutine
+ inca ; increment accumulator A by 1
+ bra increase ; loop to increase always
**************************************************************************
* Subroutine Section: address used [ $3100 to $3FFF ] RAM Memory
@@ -122,22 +122,22 @@ increase tbeq B,mainLoop ; 3 ; Test if B == 0, go back to mainLoo
;
dimmer
- bset PORTB,%10000000 ; 6 ; Turn LED4 on
- psha ; 2 ; Save A to the stack
- ldaa LEVEL ; 3 ; Load the light level into accumulator A
-onDelay tbeq A, skipToOff ; 3 ; Test if A == 0, skip loop if so
- jsr delay10usec ; 244 ; delay for 10 microseconds
- deca ; 1 ; decrement accumulator A by 1
- bra onDelay ; 3, 1; jump back to onDelay always
-skipToOff bclr PORTB,%10000000 ; 6 ; Turn off LED4
- ldaa #100 ; 1 ; load 100 into accumulator A
- suba LEVEL ; 3 ; Subtract LEVEL to get off count
-offDelay tbeq A,doneLoop ; 3 ; Test if A == 0, skip loop if so
- jsr delay10usec ; 244 ; delay 10 microseconds
- deca ; 1 ; decrement accumulator A by 1
- bra offDelay ; 3, 1; jump back to offDelay always
-doneLoop pula ; 3 ; restore A from the stack
- rts ; 5 ; return to caller
+ bset PORTB,%10000000 ; Turn LED4 on
+ psha ; Save A to the stack
+ ldaa LEVEL ; Load the light level into accumulator A
+onDelay tbeq A, skipToOff ; Test if A == 0, skip loop if so
+ jsr delay10usec ; delay for 10 microseconds
+ deca ; decrement accumulator A by 1
+ bra onDelay ; jump back to onDelay always
+skipToOff bclr PORTB,%10000000 ; Turn off LED4
+ ldaa #100 ; load 100 into accumulator A
+ suba LEVEL ; Subtract LEVEL to get off count
+offDelay tbeq A,doneLoop ; Test if A == 0, skip loop if so
+ jsr delay10usec ; delay 10 microseconds
+ deca ; decrement accumulator A by 1
+ bra offDelay ; jump back to offDelay always
+doneLoop pula ; restore A from the stack
+ rts ; return to caller
;*************************************************************************
; delay10usec subroutine
diff --git a/cmpen472hw4_McDonnell/cmpen472hw4_McDonnell_Data/Standard/ObjectCode/main.asm.o b/cmpen472hw4_McDonnell/cmpen472hw4_McDonnell_Data/Standard/ObjectCode/main.asm.o
index 2810115..c7cfa1a 100644
--- a/cmpen472hw4_McDonnell/cmpen472hw4_McDonnell_Data/Standard/ObjectCode/main.asm.o
+++ b/cmpen472hw4_McDonnell/cmpen472hw4_McDonnell_Data/Standard/ObjectCode/main.asm.o
Binary files differ
diff --git a/cmpen472hw4_McDonnell/cmpen472hw4_McDonnell_Data/Standard/ObjectCode/main.asm.sx b/cmpen472hw4_McDonnell/cmpen472hw4_McDonnell_Data/Standard/ObjectCode/main.asm.sx
index fbb3fb6..581ede7 100644
--- a/cmpen472hw4_McDonnell/cmpen472hw4_McDonnell_Data/Standard/ObjectCode/main.asm.sx
+++ b/cmpen472hw4_McDonnell/cmpen472hw4_McDonnell_Data/Standard/ObjectCode/main.asm.sx
@@ -1,7 +1,7 @@
S0840000433A5C55736572735C4A61636F62204D63446F6E6E656C6C5C446F63756D656E74735C434D50454E2D3437322D48575C636D70656E3437326877345F4D63446F6E6E656C6C5C636D70656E3437326877345F4D63446F6E6E656C6C5F446174615C5374616E646172645C4F626A656374436F64655C6D61696E2E61736D2E70726DD1
S10630000036058E
-S1233100CF310086F15A0386505A018664C6640440127A300216313A16313A16313A1631C6
-S12331203A4320EB0451E47A300216313A16313A16313A16313A425320EA4C018036B63092
-S12331400204400616315D4320F74D01808664B0300204400616315D4320F7323D34FE306E
-S10A3160000926FD30A73D24
+S1233100CF310086F15A0386505A0186640440127A3002163138163138163138163138437B
+S123312020EB816427E57A30021631381631381631381631384220EA4C018036B6300204AC
+S1233140400616315B4320F74D01808664B0300204400616315B4320F7323D34FE3000096F
+S108316026FD30A73D2F
S9033100CB
diff --git a/cmpen472hw4_McDonnell/cmpen472hw4_McDonnell_Data/Standard/TargetDataWindows.tdt b/cmpen472hw4_McDonnell/cmpen472hw4_McDonnell_Data/Standard/TargetDataWindows.tdt
index ecf32b1..e7c73d0 100644
--- a/cmpen472hw4_McDonnell/cmpen472hw4_McDonnell_Data/Standard/TargetDataWindows.tdt
+++ b/cmpen472hw4_McDonnell/cmpen472hw4_McDonnell_Data/Standard/TargetDataWindows.tdt
Binary files differ