This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

2812, (mov P,@ACC), Illegal operand combination

SPRU430e, page 6-346, example 4, shows:


ABSTC ACC    ; Take abs value, TC = sign ^ TC
MOV P,@ACC   ; P = Num32
MOVU ACC,@PH ; AH = 0, AL = high 16-bits of Num32


However, when I put, MOV P,@ACC, in my .asm file, I get:

"Testfile.asm", ERROR! at line 158: [E0004] Illegal operand combination
        MOV P,@ACC

 

Regards,

Jim