x64 Assembly and C++ Tutorial 9: Passing Integers to and from C++ and Assembly

This is the 9th tutorial, we’ll be looking at passing integer values to and from C and Assembly. The calling convention here is dictated by the C compiler we’re using. In Microsoft’s C compiler the parameters are passed by what’s known as ’FastCall’. FastCall is not a calling convention but a generic term for several different methods of passing parameters via the registers. The FastCall we will be examining is the Microsoft version, Linux uses ’System V fastcall’ which allows for a few more parameter
Back to Top