pria123
pria123
Branch Unspecified
28 Oct 2008

8253 program

hey guys i've got this program to calculate time delay using 8253. pls help me with the codings. i don't get the logic.

MVI A,30H
OUT 0CEH
MVI A,05H
OUT 0C8H
MVI A,OOH
OUT 0C8H
HLT

pls help me guys!!!
thanks
binu_ji

binu_ji

Branch Unspecified
10 years ago
MVI A,30H
OUT 0CEH
Here 30H is the value which is stored in the control word of 8253.
[​IMG]
For control word operation please check the above figure,
OUT 0C8H
here 0C8h may be address of some device.

Share this content on your social channels -

Only logged in users can reply.