On 7 Lis, 21:50, Russ Cox wrote:
I have to admit I don't understand the problem. The .P suffix seems to
be working fine for MOVW.P.
You seem to be assuming that .P has to mean "P=1" in the instruction
encoding. It doesn't have to. The meaning of the assembly language
phrases is up to us.
Russ
I have to admit I don't understand the problem. The .P suffix seems to
be working fine for MOVW.P.
You seem to be assuming that .P has to mean "P=1" in the instruction
encoding. It doesn't have to. The meaning of the assembly language
phrases is up to us.
Russ
MOVW means P=1,U=1
MOVW.P means P=0,U=1
MOVW.U means U=1,P=0
So to fix this issue I need to only swap DA <=> IB and IA <=> DB