3.3.8.2 File Register Instructions

File register instructions operate on a specific memory address contained in the instruction opcode and register, W0. W0 is a special Working register used in File register instructions.

The File register address space is determined by the maximum address range of the file instructions, which is either 64 KB (if a W-reg operand is required) or 1 MB (if no W-reg operand is required), and encompasses the user RAM area and Special Function Registers (SFRs) within DS.

File Register Instructions shows File register instructions.

File Register Instructions

ADD.w 0x4500, Wn                 ; (0x4500)+w0 -> 0x4500
ADD.w 0x4500, w0, Wn                       ; (0x4500)+w0 -> 0x4500
ADD.w 0x4500, w4, Wn                       ; (0x4500)+w4 -> 0x4500