|
Ya, I used to want to do everything in assembly. But with functions like mcpy and strcpy, these are functions that have been used millions and millions of times. If they were slow, they would have been fixed by now. Also, they are almost the same function which means individually they are highly-optimized.
I would save assembler for a time when the library method to do the job either doesn't exist or is really generic. In other cases your code will be the same or slower. You may introduce problems into your program if you're new to assembly. If you want to have some fun or get some practice then you can do it, but be prepared to scrap it if it ends up being slower.
|