spectrum
Member
hello all,
i'm wandering if is really correct the following way to save W and status:
this method is used often in many examples on the net.
By the way, reading well the movf instruction in the datasheet, i would be more sure doing
Is one of the 2 methods more correct ?
Only putting 0 as 'd' i would be really sure STATUS is moved into w ? Really i've difficult to understand the datasheet in this point.
If any help,
thanks angelo
i'm wandering if is really correct the following way to save W and status:
Code:
movwf w_save
movf STATUS,w
movwf status_save
this method is used often in many examples on the net.
By the way, reading well the movf instruction in the datasheet, i would be more sure doing
Code:
movwf w_save
movf STATUS,0
movwf status_save
Is one of the 2 methods more correct ?
Only putting 0 as 'd' i would be really sure STATUS is moved into w ? Really i've difficult to understand the datasheet in this point.
If any help,
thanks angelo
Last edited: