Lecture 32. Mixing C and Assembly

preview_player
Показать описание
This shows how to mix C and assembly codes.
Рекомендации по теме
Комментарии
Автор

Thank you Professor for the introduction to this section of the course. I have a request. Please prepare and upload two more presentations (or more, if you could) on inline assembly programming and techniques for optimizing the program better than compilers and other IDE tools, when project's constraints require such actions be done manually, ie on how can an embedded C programmer use assembly instructions to write better and faster programs.

rr
Автор

Great video. Currently working on such tasks and experimenting it daily. I haven't seen any video with such explanation earlier.

priteshpawar
Автор

I had an occasion to make an assembly language function.... I reduced the code size and speed by making the one local variable a "register" type.

kiq
Автор

Hi sir.
I have question..how import input table in timer interp..exp 1khz delay.200ms, 2khz delay 200ms ?thanks you answer..

sugiyartosugiyarto
Автор

Hi, your Videos are very useful.
I'm working in ARM cortex m7. I need a video in debugging of cortex m7 like ITM, ETM, DWT

ramanujank
Автор

Sir, please make a video on execution of mixing assembly and C for 8051 for ARM

venkatasivareddy
Автор

Am I missing something or at 3:15 the function strlen() should've been of type int instead of void??

amerbualhasan
Автор

Hi. Can you advise me what optimization level is good for final project (for hex to flash in uC)?

slawekh
Автор

It seems you are using Arm Compiler 5 rather than the latest Arm Compiler 6? The assemblers are quite different in the two toolchains.

walkerhuang
Автор

Was there a reason to push R4 and LR at all? Wouldn't you just be able to do this:

ADD R0, R0, R1
ADD R0, R0, R2
ADD R0, R0, R3
MOV PC, LR

Or is PUSH {R4, LR}/POP {R4, PC} just a calling convention and we do it whether it's needed or not

williamdrum
Автор

damn none of this was working on keil and cpulator

bvkssameer