Porting Assembler to C

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
LuNo_297436
Level 3
Level 3
First solution authored 10 replies posted 10 questions asked

Hi everyone

   

I want to port some working code already programmed in assembler .
This is an exercise with the goal to learn C and to port this to newer chips like PSOC 4
What should be the steps to take in consideration? 

   

Thanks in advance

   

Luis

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Usually you do this a bit different: Using the functional description of what the asm-code has to perform begin to program that without looking at the asm. Can be something difficult when still learning C language.

   

 

   

Bob

View solution in original post

0 Likes
2 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Usually you do this a bit different: Using the functional description of what the asm-code has to perform begin to program that without looking at the asm. Can be something difficult when still learning C language.

   

 

   

Bob

0 Likes
LuNo_297436
Level 3
Level 3
First solution authored 10 replies posted 10 questions asked

Hi Bob

   

Thanks a lot for your response and allow me to apologize for the delay.

   

It´s clear  I´m not asking the right question so I´ll try to clarify what I need.

   

Basically what i need first is how  to make  a FIFO buffer in C.

   

Soon I´ll be posting some examples.

   

Greetings

   

Luis 

0 Likes