Lab Manuals

Lab Manuals

Program for Arithmatic operations in 89C51

AIM: To write programs for i. Addition ii. Subtraction iii. Multiplication iv. Division of two numbers in 89C51. Addition PROGRAM MOV R0,#00 MOV DPTR,#4200 MOVX A,@DPTR MOV B,A INC DPTR MOVX A,@DPTR ADD A,B JNC LABEL1 INC R0 LABEL1 : INC DPTR MOVX @DPTR,A MOV A,R0 INC DPTR MOVX @DPTR,A HERE : SJMP HERE SAMPLE […]

Lab Manuals

8085 program-Ascii to Decimal conversion

AIM To prepare a program for 8085 to convert a decimal number to its corresponding ASCII number and to convert a given ASCII TO decimal. PROGRAM FOR DECIMAL TO ASCII CONVERSION LDA 4200 CPI 0A JC LABEL1 ADI 30 JMP LABEL2 LABEL1:MVI A,EE LABEL2:STA 4201 HLT SAMPLE OUTPUT: ADDRESS DATA INPUT/OUTPUT 4200 01 Input 4201

Lab Manuals

Program to seperate bytes to nibbles in 8085

AIM:To prepare an assembly language program for 8085 to  separate  the nibbles of an 8 bit number. PROGRAM: MVI C,00 LDA 4200 MOV C,A ANI OF STA 4201 MOV A,C ANI F0 RRC RRC RRC RRC STA 4202 HLT SAMPLE OUTPUT ADDRESS DATA INPUT/OUTPUT 4200 A3 INPUT 4201 03 OUTPUT 4202 0A OUTPUT RESULT:A program

Lab Manuals

Square root of an 8 bit number in 8085

AIM To prepare an assembly language program  to find the square root of an 8 bit number for 8085 microprocessor PROGRAM MVI C,01 MVI E,01 LDA 4200 LABEL:SUBB C JZ LABEL1 INR C INR C INR E JMP LABEL LABEL1:MOV A,E STA 4201 HLT SAMPLE OUTPUT ADDRESS DATA INPUT/OUTPUT 4200 10 Input 4201 04 Output

Lab Manuals

Division of Two 8 bit numbers in 8085

AIM:To prepare an assembly language program for 8085 to multiply two 8 bit numbers PROGRAM MVI C,00 LDA 4200 MOV B,A LDA 4201 LABEL:SUBB B INR C JNC LABEL DCR C ADD B STA 4202 MOV A,C STA 4203 HLT SAMPLE OUTPUT ADDRESS DATA INPUT/OUTPUT 4200 02 Input 4201 05 Input 4202 01 Output 4203

Lab Manuals

Multiplication of Two 8 bit numbers in 8085

AIM To prepare an assembly language program for 8085 to multiply two 8 bit numbers PROGRAM MVI C,00 LDA 4200 MOV B,A LDA 4201 MOV A,D MVI A,00 LABEL:ADD B DCR D JNZ LABEL JNC LOOP INR C LOOP:STA 4202 MOV A,C STA 4203 HLT SAMPLE OUTPUT ADDRESS DATA INPUT/OUTPUT 4200 04 Input 4201 02

Lab Manuals

Addition of Two 16 bit numbers in 8085

AIM:To prepare a program to add two 16 bit numbers for 8085 PROGRAM MVI E,00 LHLD 4200 MOV C,L MOV B,H LHLD 4202 DAD B JNC LABEL1 INR E LABEL1:SHLD 4204 MOV A,E STA 4206 HLT SAMPLE OUTPUT ADDRESS DATA INPUT/OUTPUT 4200 F6 Input 4201 A3 Input 4202 2F Input 4203 B4 Input 4204 25

Lab Manuals

Addition of Two 8 bit numbers in 8085

AIM To add two 8 bit numbers using 8085 microprocessor PROGRAM MV1 C,00 LDA 4200 MOV B,A LDA 4201 ADD B JNC LABEL1 INRC LABEL1:STA 4202 MOV A,C STA 4203 HLT SAMPLE OUTPUT ADDRESS DATA INPUT/OUTPUT 4200 15 Input 4201 27 Input 4202 3C Output(sum) 4203 00 Output(carry) RESULT A program to add two 8

Lab Manuals

INTRODUCTION TO MICROPROCESSOR TRAINER KIT AND PROGRAMMING

                                               In our experiments we used Micro 85 EB trainer kit from Vi Micro systems. The steps involved in doing programs in trainer kit are summarized below.   1.Write  the program 2.Prepare the hex code of the program 3.Enter the hex code to trainer kit in suitable locations(eg:From 4100 H) 4.Give sufficient data for

Lab Manuals

UJT RELAXATION OSCILATOR

AIM To design and setup a UJT relaxation oscillator. COMPONENTS AND EQUIPMENTS NEEDED 1. UJT (2N2446) 2. Resistors 3. Capacitor 4. CRO 4. DC power supply CIRCUIT DIAGRAM DESIGN Take Vp= 10 V and f =1 KHZ Vp= η VBB+ Vd (Vd can be neglected) VBB=15V (Assume η = 0.62) From data sheet valley point

Lab Manuals

UJT CHARACTERISTICS

AIM  To plot the characteristics of UJT (2N 2446) and to determine the intrinsic stand off ratio from the graph.   COMPONENTS AND EQUIPMENTS REQUIRED   1. UJT 2. Resistors 3. Voltmeter 4. Ammeter 5. Rheostat 6. Power supply   CIRCUIT DIAGRAM                                                                                                                              EQUIVALENT CIRCUIT OF UJT     THEORY          UJT is

Lab Manuals

COMMON EMITTER CHARECTERISTICS OF NPN TRANSISTOR

AIM    To plot the characteristics of BC 107 transistor and to find 1. Dynamic input resistance 2. Dynamic output resistance 3. Common emitter current gain   COMPONENTS AND EQUIPMENTS NEEDED   1. Transistor 2. Variable power supplies 3. Resistors 4. Voltmeters 5. Ammeters   CIRCUIT DIAGRAM THEORY            A transistor is a 3 terminal

Lab Manuals

RC INTEGRATOR AND DIFFERENTIATOR

AIM  To design and setup an RC integrator and differentiator circuits   COMPONENTS AND EQUIPMENTS REQUIRED 1. Capacitors 2. Resistors 3. Signal generator 4. CRO   CIRCUIT DIAGRAM AND DESIGN   1.      DIFFERENTIATOR WITH INPUT FREQUENCY 1 KHZ Input voltage is 20 v pp. DESIGN   RC<0.0016T; Take R= 5.6 K (To avoid the loading

Lab Manuals

ZENER DIODE VOLTAGE REGULATOR

AIM To design and set up a voltage regulator using Zener diode COMPONENTS AND EQUIPMENTS   1. Bridge rectifier circuit 2. Zener diode (6.2 volt) 3. Resistors 4. Capacitors 5. Voltmeter 6. Ammeter 7. Rheostat CIRCUIT DIAGRAM DESIGN To get a 5.6 V as output, select SZ 5.6 as Zener diode .Take load current as

Lab Manuals

CLAMPING CIRCUITS

AIM  To realize various clamping circuits using diodes and capacitors   COMPONENTS AND EQUIPMENTS   1. Diode 2. Capacitor 3. DC power supply 4. CRO   CIRCUIT DIAGRAMS AND TRANSFER CHARACTERISTICS   1.      NEGATIVE  CLAMPER WITH 0.7 VOLTS   2.      POSITIVE CLAMPER WITH LEVEL – 0.7 VOLTS 3.      POSITIVE CLAMPER WITH LEVEL  -5 V 4.     

Lab Manuals

CLIPPING CIRCUITS

AIM  To set the diode clipping circuits   COMPONENTS AND EQUIPMENTS REQUIRED 1. Diodes 2. Resistors 3. DC sources 4. Signal generator 5. CRO   CIRCUIT DIAGRAMS   1.      POSITIVE CLIPPER AT  0.6V TRANSFER CHARECTERISTICS 2.      NEGETIVE CLIPPER AT -0.6 VOLTS     TRANSFER CHARECTERISTICS       3.      POSITIVE CLIPPER AT  3 V  

Lab Manuals

RECTIFIER CIRCUITS USING PN JUNCTION DIODES

AIM To implement the half wave rectifier and full wave rectifier using 1N 4007 diode COMPONENTS AND EQUIPMENTS REQUIRED 1. Diodes 2. Centre tap transformer 3. Resistors 4. CRO CIRCUIT DIAGRAM HALF WAVE RECTIFIER FULL WAVE CENTRE TAP RECIFIER FULL WAVE BRIDGE RECTIFIER WAVEFORMS HALF WAVE RECTIFIER WITHOUT CAPACITOR FILTER WITH CAPACITOR FILTER FULL WAVE

Lab Manuals

ZENER DIODE CHARECTERISTICS

AIM  To plot the reverse characteristics of zener diode and to find the breakdown voltage   COMPONENTS AND EQUIPMENTS NEEDED   1. 6.2 V zener diode 2. Resistors 3. Variable dc power supply 4. Voltmeter 5. Ammeter   CIRCUIT DIAGRAM   THEORY                   Zener diode is a P-N junction diode specially designed to operate

Lab Manuals

DIODE CHARECTERISTICS

AIM   To plot the characteristics of a pn diode and to find its the cut in voltage and the dynamic resistance.   COMPONENTS AND EQUIPMENTS REQUIRED   1. DC supply 2. Diodes 3. Voltmeter 4. Ammeter 5. Rheostat   CIRCUIT DIAGRAM   THEORY   A diode is the basic electronic component. It’s property is

Scroll to Top