just_enough_assembly_for_compiler_explorer
Just Enough Assembly for Compiler Explorer - Anders Schau Knatten
Assembly basics

Using simple sum function as exammple

Example with function -> function

Final tips
- If there's something you don't understand on compiler explorer hover over the instruction and see if you get a hint and then you can search and find out more
- if you want to try it with your local with your own code then make a local standalone reproduction so try to get everything into one cpp file locally which compiles which has no includes and just inline everything maybe your compiler or your IDE can help you with some inlining stuff make a local standalone production that will make it a lot easier
- Compiler explorer has a bunch of libraries so it has boost cache2, it has fmt it has a lot of useful stuff so you can actually use those libraries there and that can be very useful.
- When test, use ints instead of complicated types. And then you can rather fill in your own types later when you when you understand like the fundamentals around it
- Of course don't try it on your full project - it's meant for figuring out like small specific things