Codes Explorer

Learn Embedded C, ML, Python, C++, 8051, ARM

  • 8051
  • ARM
  • Verilog
  • C++
  • Machine Learning
  • Python
  • Java
  • RTOS
  • Contact Us

Category: 8051

July 27, 2017December 23, 2018 - 8051

8051 Assembly code to generate look up table for even numbers

Hello guys, Let’s see how to generate a lookup table for even numbers. There are three addressing modes in 8051 micro-controller: Immediate addressing mode, Direct addressing mode and indirect addressing mode. We use indirect addressing mode in this program to generate a lookup table for even numbers. Note: When we…

Read More

July 27, 2017December 23, 2018 - 8051

8051 Assembly code to generate look up table for odd numbers

Hello guys, Lets see how to generate look up table for odd numbers. There are three addressing modes in 8051 micro-controller: Immediate addressing mode, Direct addressing mode and indirect addressing mode. We use indirect addressing mode in this program to generate look up table for odd numbers. Note: When we…

Read More

July 27, 2017December 23, 2018 - 8051

8051 code to find the sum of negative numbers stored in an array.

Program to find the sum of all negative numbers stored in an array. This program finds the negative numbers in an array and adds them.Basically negative number is one whose carry bit is 1. Algorithm 1)Initializing register R0 with the array address and register R1 with counter. 2)Storing the first…

Read More

July 26, 2017December 23, 2018 - 8051

DC Motor Interfacing with 8051 Microcontroller – CodesExplorer

 DC Motor Interfacing with 8051 Microcontroller Fig 1 DC Motor This Code is specially developed for ALS 8051 Evaluation Board. A DC motor basically converts direct current electrical energy into mechanical energy. They have a wide range of applications in bots and in other electronic devices. By interfacing DC motor to the microcontroller,…

Read More

July 26, 2017December 23, 2018 - 8051

Stepper Motor Interfacing with 8051 Microcontroller – CodesExplorer

Stepper Motor Interfacing with 8051 Microcontroller Fig 1. Stepper Motor A stepper motor is a brushless motor which divides complete 360 degree rotation into steps. Each step has fixed angle and motor rotates along those angles.In this article we will be interfacing Stepper Motor with 8051 Microcontroller. In this article…

Read More

July 26, 2017December 23, 2018 - 8051

8051 code to find Permutation and Combination

This program finds the value of permutation and combination for given two input numbers  Algorithm 1) Store the value of n to R0,store the value of r to R1 and store the value (n-r) to R2. 2) Compare if n>r continue the process, if n<r then stop computation, if n=r…

Read More

July 25, 2017December 23, 2018 - 8051

GCD of two numbers using 8051 microcontroller.

This program finds the GCD of given two numbers and stores it in the register. Algorithm. 1) Store the num1 in R1 register and num2 in R2 register. 2) Compare whether num1>num2 and directly store result if num1=num2. 3) If num1>num2 assign numerator register to num1 and denominator register to…

Read More

July 25, 2017December 23, 2018 - 8051

Password Based Door Lock System using 8051 Microcontroller

8051 code for Password Locking System This program is to take input from the keypad as the password which is set by the user and displays whether the password is correct or incorrect on LCD. ALGORITHM 1)Initializing the password in an array called pass. 2)Taking the inputs from the keypad.…

Read More

February 8, 2017December 22, 2018 - 8051

How to write Assembly programs in Keil 4 in 10 Steps

How to write ARM  Assembly programs in Keil 4  in 10 Steps Creating an Assembly project in Keil  1. Open the Keil IDE by clicking on its icon on the desktop. 2. Choose New uVision Project from the Project menu.                    …

Read More

December 25, 2016March 3, 2021 - 8051

8051 Program to add two 16 bit Numbers (AT89C51) Microcontroller

8051 Program to add two 16 bit Numbers Below Code is Complied and Verified in Keil uVision 3. The .asm file is given below after the code. For clarifications and suggestion comment in the comment section ; 8051 ASSEMBLY CODE — CODESEXPLORER BLOG ; ALP TO ADD TWO 16 BIT…

Read More

Posts pagination

Previous 1 … 3 4
Search for:

Recent Posts

  • Computing the total storage size of the ADLS Gen1 or Gen2 folder in Pyspark
  • Run Databricks Notebooks In Parallel -Python
  • Rotate array in the right direction by K steps
  • C++ program to demonstrate simple inheritance
  • Introduction to Python Programming

Categories

  • 8051
  • ARM
  • C++
  • databricks
  • Java
  • Machine Learning
  • Python
  • RTOS
  • Uncategorized
  • Verilog

CodesExplorer

Learn Code Execute

COMPANY

  • About Us
  • Privacy Policy
  • Contact Us

CONTRIBUTE

  • Write an Article
  • Careers
  • Become Partner
Copyright © All rights reserved. Blog Zone by ProDesigns