Pular para o conteúdo principal
Renesas Brasil - Knowledgebase

What are respective address values to register A & X in MOVW AX, 0FE20H?

Latest Updated:04/01/2006


In 78K0 devices, such as when a "MOVW AX, 0FE20H" instruction is executed, what are the respective address values that are stored to register A and register X?


The contents of address FE21 are stored to register A and the contents of address FE20 are stored to register X.
Basically, this CPU operates in little endian order, so low data values correspond to low address values (however, note with caution that in the case of the "MOVW AX, saddrp" instructions, only even-numbered addresses can be specified).
Suitable Products
RL78 Family
78K Family