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.

|
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
Delay subroutine:
- Delay: LXI D, Count
- Back: DCX D
- MOV A, D
- ORA E
- JNZ Back
- RET
|
Flowchart

|
Related Programs (Click down)
Binary to BCD conversion
Find the 7-segment codes for given numbers
Find the ASCII character
ASCII to Decimal Conversion