The difference between MOV, MOVX and MOVC

Publisher:chwwdchLatest update time:2015-12-30 Source: eefocusKeywords:MOV  MOVC Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
MOV: transfer data between registers or memories inside the microcontroller (internal RAM);


MOVX: Transfer data between the A accumulator inside the microcontroller and the external data memory (external RAM).


MOVC:  The A accumulator inside the microcontroller reads data from the ROM (program memory). Because the program memory is fixed and cannot be written, A can only read data but cannot write data to it.


In other words, MOVX and MOVC refer to two different memories, one is off-chip data memory and the other is program memory.

 

Since the addresses of the internal and external ROM are continuous, only one instruction, MOVC, is sufficient; the address parts (0000H-00FFH) of the on-chip data memory and the off-chip data memory overlap, so MOV and MOVX are used to distinguish them.

Keywords:MOV  MOVC Reference address:The difference between MOV, MOVX and MOVC

Previous article:Applying single chip microcomputer to motor protector
Next article:Some issues related to microcontroller reset

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号