timer0 Interrupt fully working

This commit is contained in:
Darkress
2023-06-18 19:24:40 +02:00
parent 60b288a762
commit 791201c884
3 changed files with 4 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ package de.darkress.pic16f84sim.microcontroller;
public class Interrupt
{
private static boolean globalInterruptEnabled() {
return (Memory.getRegister(0x0B) & 0x80) == 0x80;
return (Memory.getRegister(0x0B) & 0x80) == 0x80; // Check GIE
}
public static boolean checkTimerInterruptConditions() {