Friday 12 June 2020

Program development process &tools in 8051 micro-controller

✏️Program development process &tools in 8051 micro-controller

📌PROGRAMMING LAUNGUAGE 
👉Programming means developing a sequence of commands(or instructions) that can be used by computer system to perform a predefined task.
👉It also involves trouble shooting or debugging of instruction sequence to ensure that the desired operation is performed.
👉There three types of programming languages:
💡Machine Language
💡Assembly Language 
💡High Level Language


✏️ASSEMBLY LANGUAGE STRUCTURES

👉An assembly language program statement consists of three fields: Labels, instructions and comments.
👉[LABEL:]          INSTRUCTION      [//COMMENTS]
👉Brackets show that the field is optional and may not be present in all statements.


✏️LABEL

👉The label assigns a name to a memory location or a program statement.
👉It must be followed by the colon symbol ”:”.
👉While using label as a part of an instruction the colon symbol should not be used.
👉The name of any register or an instruction of a microcontroller cannot be used as a label.
👉For example: DPTR, DPL, MOV Etc.


✏️INSTRUCTIONS

👉Each Instruction has two parts:
👉One is operation to be performed called as operation code( OP-CODE)(Mnemonic)
For Example: ADD,MOV, INC etc

👉The second part is data on which operation is to be performed called as operands.

👉There two types of operands:
➡️Source operand
➡️Destination Operand
👉The operands can be specified in many ways: It may be 8 bit data, 16bit data, an internal register, a memory location or 8bit(or 16 bit) ADDRESS.


✏️INSTRUCTION SIZE

👉The number of bytes required to represent an instruction in a machine language is called instruction size.
👉There are one two or three bytes instructions in 8051.

No comments:

Post a Comment

If you have any doubts or clarification you need in my blog topics, I would 💯 try to clear it in an efficient manner as possible. I will also accept your suggestions.

💁‍♂️ARTIFICIAL SUN CREATED BY CHINA 👈

🌞 ARTIFICIAL SUN MADE BY CHINA 🌞 ☀️China successfully powered up its “artificial sun” nuclear fusion reactor for the first ti...