Statement: Write a program to blink Port C bit 0 of the 8255. Assume address of control word register of 8255 as 83H. Use Bit Set/Reset mode.
Home
8085 Forum
8085 Free Projects
8085 Free Programs
8085 Tutorials
8085 details
Interfacing Techniques
Electronic Tutorials
Electronic Projects
Assembler/ IDE
Datasheets
Guest Book
About Me


Source program:

BACK: MVI A, 0lH                        : Load bit pattern to make PCο high
       OUT 83H                        : Send it to control word register
       CALL DELAY                        : Call Delay subroutine
       MVI A, 00H                        : Load bit pattern to make PCο Low
       OUT 83H                        : Send it to control word register
       CALL Delay                        : Call Delay subroutine
       JMP BACK                        : Repeat

FLOWCHART




Delay subroutine:

Delay: LXI D, Count
Back: DCX D                        
       MOV A, D        
       ORA E                
       JNZ Back                
       RET