Tuesday, September 15, 2009

Initialize 8255




Statement:Write a program to initialize 8255 in the configuration given below




Sample 1:
Write a program to initialize 8255 in the configuration given below:
1. Port A: Simple input
2. Port B: Simple output
3. Port CL: Output
4. Port Cu: Input
Assume address of the control word register of 8255 as 83H.
Sample 2:
Write a program to initialize 8255 in the configuration given below:
1. Port A: Output with handshake
2. Port B: Input with handshake
3. Port CL: Output
4. Port Cu: Input
Assume address of the control word register of 8255 as 23H.

1 comment: