JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

S3C8 Registers

 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - General Forum
View previous topic :: View next topic  
Author Message
vickyg2003
Site Admin


Joined: 20 Mar 2004
Posts: 7073
Location: Florida

                    
PostPosted: Sun Aug 22, 2010 10:09 am    Post subject: S3C8 Registers Reply with quote

I was revisiting the S3C8 language and I need a crash course in registers. Obviously I knew something about this at one time, I think Bill explained it to me, but I've forgotten everything.

Does W0 have something to do with RC0?

If I have memory aids, like mneumonics, perhaps I could remember what is what.
_________________
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
Back to top
View user's profile Send private message Visit poster's website
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21271
Location: Chicago, IL

                    
PostPosted: Sun Aug 22, 2010 10:31 am    Post subject: Reply with quote

W0 is a pseudonym for RC0, they are exactly the same register.

You can always refer to the scratch registers using their full names (ie, RC0, RC1, etc) but the instructions typically use more bytes of memory than the equivalent instructions (when available) that use the short names.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
mr_d_p_gumby
Expert


Joined: 03 Aug 2003
Posts: 1370
Location: Newbury Park, CA

                    
PostPosted: Sun Aug 22, 2010 4:17 pm    Post subject: Reply with quote

In PB, W0 and RC0 are treated as equivalent and the assembly will use the shorter instructions in either case. W0 thru WF are the same as RC0 thru RCF, respectively.

Actually, this can be changed, but I have never seen the remote firmware do it (outside of an extender), so you can assume the above to be true.
_________________
Mike England
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - General Forum All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control