Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/01/10 14:33
Read: times


 
#174749 - Why assembly?
Responding to: ???'s previous message
Hithesh N said:
I want to do the firmware programming in Assembly.

Why?

But I cannot find any examples of firmware written for this chip in assembly.

Maybe there's a clue there...?

Has any one of you done or come across an USB HID implemented on the cypress in Assembly.

I know Richard will disabree but, when you're up to the scale of stuff like USB, I think that 'C' really is more practical.

USB is complicated enough as it is without having to also manually manage all the fine-details at assembler level!

Its hard to write a program for a chip like this without looking at an example.

So, again, at least start in 'C' - you can then look for any areas that could benefit from hand-optimisation in assembler.

Do be aware, though, that beating a decent, modern, optimising compiler is not trivial - you will need to become very highly skilled in assembler to do it!

List of 14 messages in thread
TopicAuthorDate
Cypress EZUSB help            01/01/70 00:00      
   Why assembly?            01/01/70 00:00      
      Use a compiler            01/01/70 00:00      
      Here's why            01/01/70 00:00      
         It's not about assembler            01/01/70 00:00      
         for the same reason that ...            01/01/70 00:00      
   some keil and cypress fx2 questions            01/01/70 00:00      
      Cross-post            01/01/70 00:00      
      "I am much more comfortable with assembly than C"            01/01/70 00:00      
         I have done usb before            01/01/70 00:00      
            So what you really need            01/01/70 00:00      
               Thanks, that was the first useful answer.            01/01/70 00:00      
                  Ehh???            01/01/70 00:00      
                     It did            01/01/70 00:00      

Back to Subject List