summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-11-06 23:12:06 +0100
committerErich Eckner <git@eckner.net>2020-11-06 23:12:06 +0100
commit332f0eca7ed23898117782eedb5f7cbcdbb74045 (patch)
treed71a66e19d7ce2c78fa7ae9d8da362d5ef6c6404
parent390d2a641a2a15733dbfbba9d2bfcd3ceca50c6a (diff)
downloadUhr-332f0eca7ed23898117782eedb5f7cbcdbb74045.tar.xz
Binaeruhr.asm: 60 Sekunden pro Minute, 60 Minuten pro Stunde, 24 Stunden pro Tag
-rw-r--r--Binaeruhr.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/Binaeruhr.asm b/Binaeruhr.asm
index b2a2bbe..8d1addd 100644
--- a/Binaeruhr.asm
+++ b/Binaeruhr.asm
@@ -97,7 +97,7 @@ neue_Sekunde:
inc Sekunde
mov r16,Sekunde
- cpi r16,61
+ cpi r16,60
brcs main_loop
neue_Minute:
@@ -105,7 +105,7 @@ neue_Minute:
clr Sekunde
inc Minute
mov r16,Minute
- cpi r16,61
+ cpi r16,60
brcs main_loop
neue_Stunde:
@@ -114,7 +114,7 @@ neue_Stunde:
clr Minute
inc Stunde
mov r16,Stunde
- cpi r16,25
+ cpi r16,24
brcs main_loop
clr Stunde