welcome: please sign in

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment
Enter the first 6 digits of Pi.

Revision 2 as of 2010-08-21 02:26:56

location: ProgrammingTips

MICrODEC

Programming Tips

These tips represent things i've come across while programming the MICrODEC, but are probably useful for other programming tasks as well. They will reflect my use of assembly, but hopefully we can add C tips in the future. They are listed in order of importance.


Comment everything

It may seem like a waste of time, or that it uglies up the code, but you can never have too many comments. As a friend of mine once told me, "comments are a favor you do to your future self."

Declare registers