The yellow part will probably compile to the same couple of instructions you would use in assembler. ASM will be faster if you leave the value in a register but if you store it in RAM it will be the same.
Even that may be the same if the compiler decides to keep x in a register but I don't know how it makes that decision.
As to what those instructions are I would have to look that up as I haven't written any ASM for quite some time, the instruction set is at the end of the data sheet but it might something like this (this is also how you include ASM in C)
Cut a long story short its generally not worth writing assembler (gross generalisation i know), but as a first step to realizing this, have a look at the assembler output of your Arduino code using the objdump tool.
You might need to google for instructions, I did and here is a sample related thread -
Most of the generated assembly code is reading variables from memory into registers, doing something with the variable and writing it back again - it isn't all that exciting and the compiler is generally pretty good at making optimisation decisions.
If you get familiar with objdump and the code that the compiler outputs, you can make a better judgment of whether you time is well spend trying to beat the compiler at its own game - or not.
Cut a long story short its generally not worth writing assembler (gross generalisation i know), but as a first step to realizing this, have a look at the assembler output of your Arduino code using the objdump tool.