summaryrefslogtreecommitdiff
path: root/cmpen472hw10_McDonnell/bin/main.dbg
diff options
context:
space:
mode:
Diffstat (limited to 'cmpen472hw10_McDonnell/bin/main.dbg')
-rw-r--r--cmpen472hw10_McDonnell/bin/main.dbg4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmpen472hw10_McDonnell/bin/main.dbg b/cmpen472hw10_McDonnell/bin/main.dbg
index dec8586..1722977 100644
--- a/cmpen472hw10_McDonnell/bin/main.dbg
+++ b/cmpen472hw10_McDonnell/bin/main.dbg
@@ -623,6 +623,7 @@ skipSpaces ldaa 1,+x ; Load the next character into X
puld ; Restore D from the stack
puld ; Restore D from the stack
puld ; Restore D from the stack
+ jsr PrintTime ; Print Time
lbra ecDone ; Branch to ecDone
isH cmpa #'h' ; Compare A to 'h'
bne isM ; If A != 'h', branch to isM
@@ -630,6 +631,7 @@ isH cmpa #'h' ; Compare A to 'h'
cmpb #NULL ; Compare B to NULL
lbne badCommand ; If B != CR, bad command
staa outputBuf ; Store A into outputBuf
+ jsr PrintTime ; Print Time
lbra ecDone ; Branch to ecDone
isM cmpa #'m' ; Compare A to 'm'
bne isS ; If A != 'm', branch to isS
@@ -637,6 +639,7 @@ isM cmpa #'m' ; Compare A to 'm'
cmpb #NULL ; Compare B to NULL
lbne badCommand ; If B != CR, bad command
staa outputBuf ; Store A into outputBuf
+ jsr PrintTime ; Print Time
lbra ecDone ; Branch to ecDone
isS cmpa #'s' ; Compare A to 's'
bne isQ ; If A != 's', branch to isQ
@@ -644,6 +647,7 @@ isS cmpa #'s' ; Compare A to 's'
cmpb #NULL ; Compare B to NULL
lbne badCommand ; If B != CR, bad command
staa outputBuf ; Store A into outputBuf
+ jsr PrintTime ; Print Time
lbra ecDone ; Branch to ecDone
isQ cmpa #'q' ; Compare A to 'q'
bne isGw ; If A != 'q', branch to isGw