8051 based password lock system

Introduction to 8051 based password lock system: 8051 based password lock system, 8051 is one of most basic and widely used micro-controller for DIY projects. In this article we will be working on...
8051-programs

8051 Program to exchange data block of 10 Bytes

8051 Program to exchange data block of 10 Bytes: 8051 Program to exchange data block of 10 Bytes, in this article we will be designing a 8051 Program to exchange data block of...
8051-programs

8051 Program to exchange data blocks without using XCH

8051 Program to exchange data blocks without using XCH : 8051 Program to exchange data blocks without using XCH is as follows: MOV R0,#20H MOV R1,#30H MOV R2,#0AH MOV R3,#00H UP:MOV A,@R0 MOV R3,A MOV A,@R1 MOV @R0,A MOV A,R3 MOV @R1,A INC...
8051-programs

8051 Program to find number of Odd numbers in a block

8051 Program to find number of Odd numbers in a block: 8051 Program to find number of Odd numbers in a block is as follows: MOV DPTR,#5000H MOV R3,#0AH MOV R2,#00H CLR C UP:MOV B,#02H MOVX A,@DPTR DIV AB MOV...
8051-programs

8051 Program to find even numbers in a block

8051 Program to find even numbers in a block: 8051 Program to find even numbers in a block is as follows: MOV DPTR,#5000H MOV R3,#0AH MOV R2,#00H CLR C UP:MOV B,#02H MOVX A,@DPTR DIV AB MOV R0,B CJNE R0,#00,SKIP INC R2 SKIP: INC...
8051-programs

8051 Program to arrange numbers in Descending Order

8051 Program to arrange numbers in Descending Order: 8051 Program to arrange numbers in Descending Order is as follows: MOV R4,#0AH AGAIN: MOV R3,#0AH MOV R0,#20H CLR C UP:MOV A,@R0 MOV R1,A INC R0 MOV A,@R0 SUBB A,R1 JC SKIP MOV A,@R0 DEC R0 MOV...
8051-programs

8051 Program to count number of 1’s in a byte

8051 Program to count number of 1's in a byte: 8051 Program to count number of 1's in a byte is as follows: CLR C MOV R1,#08 MOV R2,#00H MOV R0,#30H MOV A,@R0 UP:RRC A JNC SKIP INC R2 SKIP: DJNZ...
8051-programs

8051 Program to arrange numbers in Ascending order

8051 Program to arrange numbers in Ascending order: 8051 Program to arrange numbers in Ascending order is as follows: MOV R4,#0AH AGAIN: MOV R3,#0AH MOV R0,#20H CLR C UP:MOV A,@R0 MOV R1,A INC R0 MOV A,@R0 SUBB A,R1 JNC SKIP MOV A,@R0 DEC R0 MOV...
8051-programs

8051 Program to find smallest number in block

8051 Program to find smallest number in block: In this article we will be designing 8051 Program to find smallest number in block. MOV DPTR,#5000H CLR C MOV R2,#09H MOVX A,@DPTR MOV 30H,A UP: INC DPTR MOVX A,@DPTR CJNE A,30H,DN SJMP NEXT DN:...
8051-programs

8051 Program to find largest number in a block

8051 Program to find largest number in a block of numbers: 8051 Program to find largest number; A program to find largest number among given block of numbers using 8051 microcontroller MOV DPTR,#5000H CLR C MOV...