Category: Lab Manuals

OCC of DC Shunt Generator

OPEN CIRCUIT CHARACTERISTICS OF DC SHUNT GENERATOR AIM: To plot the OCC of a given DC Generator at rated speed & to find the critical speed & critical resistance. To plot the OCC at...

8051 Square Root of a Given Number

Square Root of a Given Number THEORY: A square root of a number a is a number y such that y2 = a, or, in other words, a number y whose square (the result...

8051 Programs for Sorting

Programs for Sorting THEORY: The sorting technique used here is relatively simple. First consider the first two numbers of the array. INPUT: 8600        05H, 08H, 07H, 06H, 04H OUTPUT: 8600      04H, 05H, 06H, 07H,...

8051 Smallest Element in an Array

Smallest Element in an Array THEORY: Let Internal memory location (say 40H) has the biggest number i.e. zero. Now the biggest number in internal memory location is stored in memory as the Result. Now...

8051- Largest Element in an Array

Largest Element in an Array THEORY: Let Internal memory location (say 40H) has the biggest number i.e. zero. Now the biggest number in internal memory location is stored in memory as the Result. Now...

8051 Multi Byte Addition

Multi Byte Addition THEORY: The multi-byte addition program adds only in sets of 8-bits. The LSD of the two numbers is added first. Now, the next set of 8-bits is added, Taking into consideration...

8051- 8 Bit Division

8-Bit Division THEORY: Using the accumulator, Division is performed and the result is stored. Immediate addressing is employed. The div instruction writes the result in the accumulator INPUT: MOV A,# 08H MOV F0,#02H  OUTPUT:...

8051-Bit Multiplications

8-BIT Multiplications THEORY: Using the accumulator, Multiplication is performed and the result is stored. Immediate addressing is employed. The MUL instruction writes the result in the accumulator INPUT: MOV A,# 06H MOV F0,#02H  OUTPUT:...

error: Content is protected !!