Hallo,
ich möchte den Inhalt eines Registers in eine Variable schreiben ... aber wie geht das?
So sieht mein Program aus:
......
usec1_to res 1 ; one register reseved
......
variable usec1 = d'15' ;15= 1,5[ms] inital value in neutral position
....
movlw usec1 ; move usec1 to W
movwf usec1_to ; move W to usec1_to
......
incf usec1_to,1 ; new value = 16= 1,6ms
Frage: wie kann man jetzt den Inhalt von usec1_to (nun= 16, 1,6ms) noch mal in usec1 schreiben?
Vielen Dank für Eure Unterstützung im Voraus
Gino