Can anyone give me a simple C++ program that calls a simple (but practical) assembly program (I don’t pass parameters)? What I’m currently trying to use is below.
I definitely have to have the options required to do this for my CMakeLists.txt file.
I’m trying to use code which I think is similar to the below snippet of code:
– file test.cpp —
extern “C” int testing(void);
– file test.s —
/* … */
P.S.: My compilation was good before I added the assembly call.
- List item