Summary of addressing methods of MCS-51 microcontroller

Publisher:才富五车330Latest update time:2013-01-30 Source: 21IC Keywords:MCS-51 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

The MCS-51 microcontroller instruction system uses a total of 7 addressing modes, including register addressing, direct addressing, immediate addressing, register indirect addressing, indexed addressing, relative addressing, and bit addressing.

1.jpg

 

2.jpg

Keywords:MCS-51 Reference address:Summary of addressing methods of MCS-51 microcontroller

Previous article:MCU addressing - immediate addressing
Next article:How does the 51 microcontroller distinguish between bit address and byte address?

Recommended ReadingLatest update time:2024-11-17 00:50

What are the differences in the P0~P3 port structures of the MCS-51 microcontroller?
What are the differences in the structure of the P0 to P3 ports of the MCS-51 microcontroller? What should be paid attention to when using them as general I/O ports to input data? Answer: P2 port is a dual-function port. It is a general I/O port and a high 8-bit address port when accessing external memory in bus mod
[Microcontroller]
MCS-51 MCU scanning matrix keyboard program
#include reg52.h #define uint unsigned int #define uchar unsigned char sbit DSCQ=P2^6; //bit defines the segment latch control terminal sbit WSCQ=P2^7; //bit definition bit latch control terminal uchar code table ={0x3f,0x06,0x5b,0x4f, //0,1,2,3 0x66,0x6d,0x7d,0x07, //4,5,6,7 0x7f,0x6f,0x77,0x7c, //8,9,a,
[Microcontroller]
Realizing fireworks function with dot matrix screen based on MCS-51 single chip microcomputer
Do you remember the wonderful moment when the fireworks burst? When I was a child, whenever I watched the fireworks burst, I always hoped that I could keep the most beautiful moment forever. Finally, today my dream came true. With my own board, I can do it with just a few programmings! Before showing you the ef
[Microcontroller]
Realizing fireworks function with dot matrix screen based on MCS-51 single chip microcomputer
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
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号