This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:multiasm:exercisesbook:pc [2026/05/22 14:06] – [Creating static libraries] ktokarz | en:multiasm:exercisesbook:pc [2026/06/03 12:54] (current) – [Solution with static assembly library] ktokarz | ||
|---|---|---|---|
| Line 32: | Line 32: | ||
| TO BE DONE | TO BE DONE | ||
| </ | </ | ||
| + | |||
| + | ===== Solution with static assembly library ===== | ||
| + | In this section, we'll go through the process of creating a solution with a C++ main file and a static assembler library.\\ | ||
| + | |||
| + | **1.** Create the solution. You can create a simple "Hello world" example written in C++ for execution in a console window.\\ | ||
| + | <figure createsln> | ||
| + | {{: | ||
| + | < | ||
| + | </ | ||
| + | <figure consoleapp> | ||
| + | {{: | ||
| + | < | ||
| + | </ | ||
| + | <figure nameapp> | ||
| + | {{: | ||
| + | < | ||
| + | </ | ||
| + | At this stage, you can test the application. It should print "Hello World" in a console window. | ||
| + | |||
| + | **2.** Add assembler module with library functions. | ||
| + | <figure addasmproj> | ||
| + | {{: | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| ===== Standalone assembly ===== | ===== Standalone assembly ===== | ||