Just because you defined a function doesn't mean it gets called. You have to add an assembly(); line (pun intended ) into main().