Documente Academic
Documente Profesional
Documente Cultură
AIM:
To write an assembly language program to convert
BCD to Hexadecimal
Hexadecimal to Binary
using 8085 microprocessor kit.
ALGORITHM:
a. BCD TO HEXADECIMAL:
b. HEXA TO BINARY
1. Start
2. Move the count in B register
3. Load the number in Accumulator
4. Intialise memory pointer
5. Rotate accumulator right with carry
6. If carry load memory pointer with 1 and increment memory else move 0 to memory and
increment it.
7. Decrement count
8. Jump on non zero to step 5
9. Stop
OBSERVATION:
BCD TO HEXADECIMAL:
OUTPUT
HEXA TO BINARY
INPUT OUTPUT
RESULT:
Thus the code conversions
BCD to Hexadecimal
Hexadecimal to Binary
are done successfully using 8085 microprocessor.
Date :
AIM:
To study the value of analog to digital conversion and digital to analog conversion.
ALGORITHM
A. ADC INTERFACE
B. DAC INTERFACE
b. TRIANGULAR WAVEFORM
Start
Display
Stop
Start
Stop
Start
If ZF=1
No
Yes
If ZF=1 No
Yes
Stop
FORMULA USED:
TABLE:
Amp in
Volts
Time in ms
OBSERVATION:
TRIANGULAR
SAWTOOTH
RESULT:
Thus the programs for analog to digital conversion and digital to analog conversion with 8085
is executed and output is verified.