FIX Stack & IOPorts (MERGED)
This commit is contained in:
@ -28,7 +28,7 @@ public class IOPorts {
|
||||
}
|
||||
}
|
||||
else{
|
||||
if (DataRegister.getDirectBit(address, bit) == 1) {
|
||||
if (((trisLatch[address-TRISA] >> bit)&1) == 1){
|
||||
trisLatch[address-TRISA] -= (int) Math.pow(2, bit);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user