SECTION III-4: File Register Instructions Using FileReg or WREG as Destination

Table below operate on the file register only and then give you the option of placing the result in WREG or a file register location.

 

File Register Instructions Using FileReg or WREG as Destination
file-register-instructions-filereg-wreg.jpg

 

The d bit selects the destination for the operation. If d = w; the result is stored in the WREG (d = 0). If d = F; the result is stored in the fileReg (d = 1). The default is F. That means "DECF myfile" i s the same as "DECF myfile, F."

More From Iamtechnical.com

Advertisement: