HELP addwf

Adds the number in a file register to the number in the working register.

E.g. (if FileReg = d'65' and working register = d'43'):

addwf      FileReg, f      ; FileReg becomes 108, working register stays at 43

addwf      FileReg, w      ; working register becomes 108, FileReg stays at 65

Affects the Carry, Digit Carry, and Zero flags. Takes one clock cycle.

Back to Glossary

Copyright ©2006 Perfect Square Ltd.