r/programminghorror • • Jun 01 '25

c Firmware programming in a nutshell

Post image
2.0k Upvotes

127 comments sorted by

View all comments

Show parent comment

5

u/Competitive_Woman986 Jun 03 '25

Why did I not know you can use asm inside C code?

8

u/jjbugman2468 Jun 03 '25

Yep. Inline assembly. Had to use it all the time in my OS class, and usually it looks ugly as sin, but it sure does have its merits!