Questions tagged [8051]

The 8051 is a Harvard architecture, single chip microcontroller (µC) which was developed by Intel in 1980 for use in embedded systems. The 8051 family of microcontrollers and derivatives continue to remain popular with a vast community of hobbyists and professionals.

The 8051 is a Harvard architecture, single chip microcontroller (µC) which was developed by Intel in 1980 for use in embedded systems. Intel fabricated the original 8051 known as MCS-51. The 8051 family of microcontrollers and derivatives continue to remain popular with a vast community of hobbyists and professionals. Today a vast range of faster and/or functionally enhanced 8051-compatible devices are manufactured by more than 20 independent manufacturers.

Before you start

Please browse the list of frequently asked questions to see if your question is similar to one that has already been answered. If your question is not 8051-programming related, it may be more appropriate for Electronics and Robotics - Stack Exchange since questions tagged 8051 are found there as well.

If you haven't found an answer to your question after searching, we're here to help!

Help us help you

Please help keep your question readable by using proper formatting. When you post a question, please monitor it for activity because more information or clarification might be required in order to provide a good answer.

Explain what you tried and where you're stuck (preferably with code examples) if applicable.

Important notes that may save you time

  • The datasheet for a specific device or family of devices useful information information and is often a good place to start. Datasheets are typically available on the device manufacturer's website.

  • The 8052.com web site is dedicated exclusively to the 8052 microcontroller, related products (both hardware and software), and 8052 derivative chips. This includes the traditional 8052, 8051, 8032, and 8031 along with more modern derivatives such as those by Atmel, NXP, Silicon Laboratories, and many others.

  • The Wikipedia article has an overview of the ISA's registers and instructions.

473 questions
-3
votes
1 answer

Related to 8051 Microcontroller Crystal Frqequency

I am studying the basics of the 8051 Microcontroller. Why use 11.059Mhz crystal frequency instead of 12Mhz in 8051?
-3
votes
1 answer

MC8051 Microcontroller addressing

I have the code on the left given and i am asked what is stored in the addresses from 0H...15H. I found it very easy all the answers till 0AH came. I have no clue where the '0D' or '08' or 'FE' are coming from. here is the Code: WERT equ 127 …
Endrit Demaj
  • 134
  • 6
-3
votes
1 answer

Assembly zero error - switch statement

I am supposed to make a mux using a Dallas 8051 chip. p1.0, p1.1, and p1.2 are inputs. P1.3 is the enable line, and output are P2.0 to p2.3. All outputs work fine while debugging apart from when all inputs are zero and enable is one. (only zero…
rddead
  • 103
  • 10
-3
votes
1 answer

assembly language 8051 syntax error

i am new to assembly language. i want to run that code for 8051 controller,but its not working properly. it gives syntax error. kindly help me org mov a,#38h acall comnwrt mov delay acall a,30eh acall comnwrt mov delay acall a,#01 acall comnwrt mov…
-4
votes
2 answers

How to convert a c program to 8051 microcontroller assembly code

I looked through several sites ,but, I am not able to find a suitable answer. It seems really hard to convert my c programme to assembly code...
Christie
  • 1
  • 1
  • 3
-4
votes
2 answers

How could i do multi threading in embedded programmes?

Hi i am an embedded programmer. Recently we came across a project where we are forced to use multi threading. I have used the same in java but i could not implement it my embedded code for 8051. Could any body please help me?
-4
votes
2 answers

Compare Char[] with String in C "Embedded"

I try to create two function to split string become 2 part , the first function i want to get string "Mode 1", from serial port when RX_IN_CHR_UART variable, filled data like "Mode 1 34", and the second function i want to get the "34" this…
Adhy
  • 92
  • 2
  • 10
-7
votes
2 answers

How to change a char to ASCII form?

I need change my program, how do I use some function change a char to ASCII? my mobile receive data from 8051, always show '0', it's not true. char to ASCII code. void Data_TX(unsigned char Y) { unsigned char Buff_Y[3]; Buff_Y[2] = (Y /…
JDQQ8051
  • 3
  • 4
1 2 3
31
32