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.
S3C8 Registers
Moderator: Moderators
-
vickyg2003
- Site Admin
- Posts: 7109
- Joined: Sat Mar 20, 2004 12:19 pm
- Location: Florida
- Contact:
S3C8 Registers
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.
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.
-
The Robman
- Site Owner
- Posts: 22063
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
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.
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!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
-
mr_d_p_gumby
- Expert
- Posts: 1370
- Joined: Sun Aug 03, 2003 12:13 am
- Location: Newbury Park, CA
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.
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