fix inderect addr
This commit is contained in:
parent
87e5658818
commit
32c360ebb8
@ -837,7 +837,7 @@ namespace PIC_Simulator.PIC
|
|||||||
|
|
||||||
if (index == ADDR_INDF) // indirekte adresierung
|
if (index == ADDR_INDF) // indirekte adresierung
|
||||||
{
|
{
|
||||||
if (Register[ADDR_FSR] % 0x80 != 0) return 0;
|
if (Register[ADDR_FSR] % 0x80 == 0) return 0;
|
||||||
return Register[Register[ADDR_FSR]];
|
return Register[Register[ADDR_FSR]];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
[X] Testprogramm 3 (Byte Befehle ohne 4).
|
[X] Testprogramm 3 (Byte Befehle ohne 4).
|
||||||
[X] Testprogramm 4 (DECFSZ, RLF, RRF...
|
[X] Testprogramm 4 (DECFSZ, RLF, RRF...
|
||||||
[X] Testprogramm 5 (Bitbefehle)
|
[X] Testprogramm 5 (Bitbefehle)
|
||||||
[ ] Testprogramm 6 (indirekte Adressierung)
|
[X] Testprogramm 6 (indirekte Adressierung)
|
||||||
[ ] Testprogramm 7 (Timer 0 )
|
[ ] Testprogramm 7 (Timer 0 )
|
||||||
[X] Ext. Taktgeber an RA4 + IO-Pin
|
[X] Ext. Taktgeber an RA4 + IO-Pin
|
||||||
[ ] Testprogramm 7 (Interrupts)
|
[ ] Testprogramm 7 (Interrupts)
|
||||||
|
Loading…
Reference in New Issue
Block a user