Currently, I am undertaking a project about Electronic Control Unit for an electric vehicle and I want to programme the microcontroller unit in C language. I have more experience with assembler language and I would like to solve some doubts about C language in Freescale microcontrollers. For instance, if I have the following assembler code, how can I implement the subroutines in C language:
MOVB #$00, PORTB
I await your prompt response.