implemented Clrwdt Instruction (#34)

Co-authored-by: Darkress <30271678+DarkressX@users.noreply.github.com>
Reviewed-on: darkress/pic16f84-sim#34
This commit was merged in pull request #34.
This commit is contained in:
darkress committed 2023-06-17 22:52:03 +02:00
1 parent 9f2a814c34
commit b408b10cd0
3 files changed
+29 -1

No files matched your search

@@ -8,6 +8,10 @@ public class Watchdog
return watchdogTimer;
}
public static void resetWatchdogTimer() {
watchdogTimer = 18000;
}
public static void decreaseWatchdogTimer()
{
watchdogTimer--;