diff --git a/bin/Model/Microcontroller/RAM.class b/bin/Model/Microcontroller/RAM.class index 677bb89..fb53747 100644 Binary files a/bin/Model/Microcontroller/RAM.class and b/bin/Model/Microcontroller/RAM.class differ diff --git a/bin/View/GUIRegistersDetailed.class b/bin/View/GUIRegistersDetailed.class index 2ef7739..4923629 100644 Binary files a/bin/View/GUIRegistersDetailed.class and b/bin/View/GUIRegistersDetailed.class differ diff --git a/src/Model/Microcontroller/RAM.java b/src/Model/Microcontroller/RAM.java index f9aeadf..49e924d 100755 --- a/src/Model/Microcontroller/RAM.java +++ b/src/Model/Microcontroller/RAM.java @@ -227,7 +227,7 @@ public class RAM { set_T0IF(true); set_TMR0((iValTMR0 + 1) & 255); } else { - set_T0IF(false); + //set_T0IF(false); set_TMR0(iValTMR0 + 1); } //Prescaler assigned to TMR0, increment TMR0 if prescaled TMR0 equals TMR0 prescaler-rate. @@ -241,7 +241,7 @@ public class RAM { set_T0IF(true); set_TMR0((iValTMR0 + 1) & 255); } else { - set_T0IF(false); + //set_T0IF(false); set_TMR0(iValTMR0 + 1); } } diff --git a/src/View/GUIRegistersDetailed.java b/src/View/GUIRegistersDetailed.java index 0d5d5c9..5b52d28 100644 --- a/src/View/GUIRegistersDetailed.java +++ b/src/View/GUIRegistersDetailed.java @@ -163,14 +163,14 @@ public class GUIRegistersDetailed extends JPanel { } public void setIntcon(int[] aiIntcon) { - oIntconTable.setValueAt(aiIntcon[0] + "", 1, 0); - oIntconTable.setValueAt(aiIntcon[1] + "", 1, 1); - oIntconTable.setValueAt(aiIntcon[2] + "", 1, 2); - oIntconTable.setValueAt(aiIntcon[3] + "", 1, 3); - oIntconTable.setValueAt(aiIntcon[4] + "", 1, 4); - oIntconTable.setValueAt(aiIntcon[5] + "", 1, 5); - oIntconTable.setValueAt(aiIntcon[6] + "", 1, 6); - oIntconTable.setValueAt(aiIntcon[7] + "", 1, 7); + oIntconTable.setValueAt(aiIntcon[7] + "", 1, 0); + oIntconTable.setValueAt(aiIntcon[6] + "", 1, 1); + oIntconTable.setValueAt(aiIntcon[5] + "", 1, 2); + oIntconTable.setValueAt(aiIntcon[4] + "", 1, 3); + oIntconTable.setValueAt(aiIntcon[3] + "", 1, 4); + oIntconTable.setValueAt(aiIntcon[2] + "", 1, 5); + oIntconTable.setValueAt(aiIntcon[1] + "", 1, 6); + oIntconTable.setValueAt(aiIntcon[0] + "", 1, 7); } public void setTheme(int iThemeNr) {