View Single Post
Old 19-08-2009, 07:18   #92
Waldo Pepper
Inactive
 
Join Date: Jul 2009
Location: In the thick of East Anglia
Posts: 573
Waldo Pepper has entered a golden reputation eraWaldo Pepper has entered a golden reputation eraWaldo Pepper has entered a golden reputation eraWaldo Pepper has entered a golden reputation eraWaldo Pepper has entered a golden reputation eraWaldo Pepper has entered a golden reputation eraWaldo Pepper has entered a golden reputation eraWaldo Pepper has entered a golden reputation eraWaldo Pepper has entered a golden reputation eraWaldo Pepper has entered a golden reputation eraWaldo Pepper has entered a golden reputation era
Re: Programming Challenges?

When I was learning C in the 80's, I used to write programs to prove or disprove if a number is prime. Specifically the Lucas Lehmer test.
Easy to do in C. Re-writing in 8051 assembler will make you a real programmer. Moreso if you then re-write code to get your graphics card to do it using ultrafast VRAM.
Dissassembling programs is also good practise. Compile a program to multiply two numbers, go and look at the generated code and try to work out what's going on.
I personally always find assembly programming more challenging. Getting a floating point divide to work is easy. Not in 128bytes of stack in 512bytes of reserved code space it isn't.
Waldo Pepper is offline   Reply With Quote