Here, I think you should get comfortable with the assembler FIRST with little exercises like the one above, and also another one which I will finish up with.
You are ready to look at the interface information for your particular language.