Mixed C and Assembly Language Programming from Scratch
14
Mixed C and Assembly Language Programming from Scratch RTFM? We don’t need to stinkin’ RTFM.
-
Upload
graham-rowland -
Category
Documents
-
view
29 -
download
5
description
Mixed C and Assembly Language Programming from Scratch. RTFM? We don’t need t o stinkin ’ RTFM. Create a new project. General…Empty Project. VS 9 alternative. Add a file to the project. A C++ file. Write a test program. Set a break point (F9) and start the program in debug mode. - PowerPoint PPT Presentation
Transcript of Mixed C and Assembly Language Programming from Scratch
![Page 1: Mixed C and Assembly Language Programming from Scratch](https://reader037.fdocuments.us/reader037/viewer/2022110101/5681309d550346895d968eae/html5/thumbnails/1.jpg)
Mixed C and Assembly Language Programming from Scratch
RTFM? We don’t need to stinkin’ RTFM.
![Page 2: Mixed C and Assembly Language Programming from Scratch](https://reader037.fdocuments.us/reader037/viewer/2022110101/5681309d550346895d968eae/html5/thumbnails/2.jpg)
Create a new project
![Page 3: Mixed C and Assembly Language Programming from Scratch](https://reader037.fdocuments.us/reader037/viewer/2022110101/5681309d550346895d968eae/html5/thumbnails/3.jpg)
General…Empty Project
![Page 4: Mixed C and Assembly Language Programming from Scratch](https://reader037.fdocuments.us/reader037/viewer/2022110101/5681309d550346895d968eae/html5/thumbnails/4.jpg)
VS 9 alternative
![Page 5: Mixed C and Assembly Language Programming from Scratch](https://reader037.fdocuments.us/reader037/viewer/2022110101/5681309d550346895d968eae/html5/thumbnails/5.jpg)
Add a file to the project
![Page 6: Mixed C and Assembly Language Programming from Scratch](https://reader037.fdocuments.us/reader037/viewer/2022110101/5681309d550346895d968eae/html5/thumbnails/6.jpg)
A C++ file
![Page 7: Mixed C and Assembly Language Programming from Scratch](https://reader037.fdocuments.us/reader037/viewer/2022110101/5681309d550346895d968eae/html5/thumbnails/7.jpg)
Write a test program
![Page 8: Mixed C and Assembly Language Programming from Scratch](https://reader037.fdocuments.us/reader037/viewer/2022110101/5681309d550346895d968eae/html5/thumbnails/8.jpg)
Set a break point (F9) and start the program in debug mode
![Page 9: Mixed C and Assembly Language Programming from Scratch](https://reader037.fdocuments.us/reader037/viewer/2022110101/5681309d550346895d968eae/html5/thumbnails/9.jpg)
Select the disassembly view
![Page 10: Mixed C and Assembly Language Programming from Scratch](https://reader037.fdocuments.us/reader037/viewer/2022110101/5681309d550346895d968eae/html5/thumbnails/10.jpg)
![Page 11: Mixed C and Assembly Language Programming from Scratch](https://reader037.fdocuments.us/reader037/viewer/2022110101/5681309d550346895d968eae/html5/thumbnails/11.jpg)
Write an assembly routine
![Page 12: Mixed C and Assembly Language Programming from Scratch](https://reader037.fdocuments.us/reader037/viewer/2022110101/5681309d550346895d968eae/html5/thumbnails/12.jpg)
If asked, select the MASM rule
![Page 13: Mixed C and Assembly Language Programming from Scratch](https://reader037.fdocuments.us/reader037/viewer/2022110101/5681309d550346895d968eae/html5/thumbnails/13.jpg)
Add prototype and method call
![Page 14: Mixed C and Assembly Language Programming from Scratch](https://reader037.fdocuments.us/reader037/viewer/2022110101/5681309d550346895d968eae/html5/thumbnails/14.jpg)
Enjoy your console output