CE Home
Navigation
Go Back   CrazyEngineers Forum > CE : Technical Discussions > Electrical & Electronics Engineering
Notices


Advertisements
Reply
 
LinkBack Thread Tools Display Modes

  #1 (permalink)
Old 11th October 2008, 10:46 PM
CE - Newbie
 
pria123's Avatar
 
Join Date: 24th February 2008
I'm a Crazy electrical and electronics Engineer
Posts: 8
Post 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

Last edited by pria123; 12th October 2008 at 09:03 PM.
pria123 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #2 (permalink)
Old 29th October 2008, 10:27 AM
CE - Apprentice
 
Join Date: 13th July 2007
I'm a Crazy Electronics Engineer
Posts: 14
Default Re: 8253 program

MVI A,30H
OUT 0CEH
Here 30H is the value which is stored in the control word of 8253.

For control word operation please check the above figure,
OUT 0C8H
here 0C8h may be address of some device.
binu_ji is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
C Challenge: Self-Printing Program The_Big_K Computer Science & IT Engineering 18 18th December 2008 11:54 PM
PC Tutorial: Parallel Port Interfacing Techniques - Part 2 xheavenlyx Computer Science & IT Engineering 21 23rd November 2008 06:56 PM
Program to check that the string you enter at runtime is a valid variable declaration dharam_241086 Computer Science & IT Engineering 1 12th August 2008 10:31 AM
How to run a 32 bit application using a program in C nakul dhande Computer Science & IT Engineering 4 18th May 2008 02:53 PM
Mouse programming in C prabhat kumar Computer Science & IT Engineering 6 28th April 2008 05:57 PM


All times are GMT +5.5. The time now is 11:50 AM.
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Member comments are owned by the poster. Copyright © 2005-2008 CrazyEngineers.com. All rights reserved.

Advertisements