PalatinCoder / PIC-Simulator

Repo für den PIC-Simulator im Rahmen der VL Systemnahes Programmieren
5 stars 2 forks source link

Prescaler und WDT implementieren #5

Closed d-Rickyy-b closed 7 years ago

d-Rickyy-b commented 7 years ago

When assigned to the Timer0 module, all instructions writing to the TMR0 register (e.g., CLRF 1, MOVWF 1, BSF 1,etc.) will clear the prescaler. When assigned to WDT, a CLRWDT instruction will clear the prescaler along with the WDT.

Der TMR0 wird vom Befehlstakt incrementiert. beim Überlauf wird ein Interrupt ausgelöst

PalatinCoder commented 7 years ago

Prescaler für Timer0 ist drin

PalatinCoder commented 7 years ago

Sollte stimmen, im Großen und Ganzen (siehe Notiz in #17 )