0% found this document useful (0 votes)
5 views3 pages

Data Structure and Encoding Analysis

This document summarizes an experiment conducted with a microprocessor laboratory involving DB-25 connectors and controlling LEDs. The objectives were to understand the DB-25 data port, basic output interface, and controlling LEDs using assembly/C++ programs. Various values were written to the data port address to turn specific LEDs on and off, demonstrating how the output is controlled by the program values. The conclusion is that the printer output depends on the values assigned in the program.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views3 pages

Data Structure and Encoding Analysis

This document summarizes an experiment conducted with a microprocessor laboratory involving DB-25 connectors and controlling LEDs. The objectives were to understand the DB-25 data port, basic output interface, and controlling LEDs using assembly/C++ programs. Various values were written to the data port address to turn specific LEDs on and off, demonstrating how the output is controlled by the program values. The conclusion is that the printer output depends on the values assigned in the program.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

LABORATORY in ECE511L (microprocessor laboratory)

EXERCISE # 2
Submitted by:

Lito Alvior BSEE5 Jeniffer Anub BSECE5 Daniel Francis Barientos BSECE5 Hariz Florita BSEE5 Edmar Garcia BSECE5 Elizer Jayson Glorian BSECE5 John Rio Marcelo BSECE5 Antonio Millondaga Jr. BSECE5 Junel Nono BSECE5 Lindon Pajarillo BSECE5 Kelley Jones Vedad BSECE5 -----------------------------------------------GROUP 2

Submitted to:

Engr. MARFEN G. CORVERA INSTRUCTOR

Laboratory Exercise 2 ECE 511L DB-25 Connectors Data Part OBJECTIVES: 1. Be able to across the DB-05 connectors data part 2. Explain the operation of the basic output interface. 3. Be able to control the operation of LED S using an assembly/c++ language program. MATERIALS: 1 8 1 8 PROCEDURES:

computer system LED S Long connecting wires breadboard 330 resistors

1. Be sure to turn off the computer before connecting the circuit. 2. Connect the circuit as shown in the figure. 3. Load DEBUG. 4. Determine data part address. data part address = 0378 5. Execute: -O data part FF 6. What are the states of the LED S? All LEDS are lighting. 7. Execute: -O data part 55

8. What are the states of the LED S? The LEDS D6, D4, D2, D0 are ON while the rest LEDS D5, D3, D1 and D7 are off. 9. Execute: -O data part 10. What are the states of the LED S? No LEDS lighting. 11. What can you say about the output of the printer part based on the input wheres? ______________________________________________________________________________ ______________________________________________________________________________ 12. Code the program for the hardware design include a terminating procedures. ______________________________________________________________________________ ______________________________________________________________________________

OBSERVATION: LED s are turn-on and off according to the assigned values on the program codes.

______________________________________________________________________________

CONCLUSION: The output of the printer depends on the assigned value on the program.

You might also like