INIT-Werte bei RESET
This commit is contained in:
parent
f263a04f0f
commit
6074bd8217
@ -120,7 +120,19 @@ namespace PIC_Simulator.PIC
|
||||
|
||||
public PICProgramm()
|
||||
{
|
||||
|
||||
// Anfangswerte
|
||||
|
||||
SetRegisterOhneBank(ADDR_PCL, 0x00);
|
||||
SetRegisterOhneBank(ADDR_STATUS, 0x18);
|
||||
SetRegisterOhneBank(ADDR_PCLATH, 0x00);
|
||||
SetRegisterOhneBank(ADDR_INTCON, 0x00);
|
||||
|
||||
SetRegisterOhneBank(ADDR_OPTION, 0xFF);
|
||||
SetRegisterOhneBank(ADDR_TRIS_A, 0x1F);
|
||||
SetRegisterOhneBank(ADDR_TRIS_B, 0xFF);
|
||||
|
||||
SetRegisterOhneBank(ADDR_EECON1, 0x00);
|
||||
SetRegisterOhneBank(ADDR_EECON2, 0x00);
|
||||
}
|
||||
|
||||
public void Laden(string code)
|
||||
|
@ -6,7 +6,7 @@
|
||||
[/] Kommentare sinnvoll und ausreich
|
||||
[/] Funkt., Meth., Klassen Befehlsnachbild.
|
||||
[/] Variablenbezeichner / Variablennamen
|
||||
[?] INIT-Werte bei RESET
|
||||
[X] INIT-Werte bei RESET
|
||||
[X] Laufzeitzähler
|
||||
[?] Latchfunktion der IO-Register
|
||||
[X] frei wählbare Quarzfrequenz
|
||||
|
Loading…
Reference in New Issue
Block a user