It is currently Tue May 21, 2013 6:49 pm

All times are UTC + 10 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: explanation.. please
PostPosted: Wed Mar 07, 2012 7:10 am 
Offline
Can't get enough of electronics!
Can't get enough of electronics!

Joined: Wed Jan 25, 2012 2:54 am
Posts: 76
Hello! I would like to have explanation on this :
bcf PORTA, 1 ; turn on the RED LED and
bsf PORTA, 0 ; turn off the GREEN LED.

what is bcf and bsf and PORTA ?

just a little idea, at the beginning i could write reaction game , but how do i write that on a 7 segment display ?

thank yoU!
marC:)


Top
 Profile E-mail  
 
 Post subject: Re: explanation.. please
PostPosted: Thu Mar 08, 2012 7:39 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Fri Mar 26, 2010 10:30 pm
Posts: 1860
Check out this tutorial:
http://www.bradsprojects.com/electronics/BradsProjects-ASMTutorial2.html

It has the info on bsf and bcf.

as for writing text on the seven segment display, you are severely limited - you would want to use an lcd display most probably.

Be sure to check out the rest of my Assembly tutorials which will explain alot of the most common instructions.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme made by Keenen Wheeler