Transcript
Page 1: Mixed C and Assembly Language Programming from Scratch

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

Create a new project

Page 3: Mixed C and Assembly Language Programming from Scratch

General…Empty Project

Page 4: Mixed C and Assembly Language Programming from Scratch

VS 9 alternative

Page 5: Mixed C and Assembly Language Programming from Scratch

Add a file to the project

Page 6: Mixed C and Assembly Language Programming from Scratch

A C++ file

Page 7: Mixed C and Assembly Language Programming from Scratch

Write a test program

Page 8: Mixed C and Assembly Language Programming from Scratch

Set a break point (F9) and start the program in debug mode

Page 9: Mixed C and Assembly Language Programming from Scratch

Select the disassembly view

Page 10: Mixed C and Assembly Language Programming from Scratch
Page 11: Mixed C and Assembly Language Programming from Scratch

Write an assembly routine

Page 12: Mixed C and Assembly Language Programming from Scratch

If asked, select the MASM rule

Page 13: Mixed C and Assembly Language Programming from Scratch

Add prototype and method call

Page 14: Mixed C and Assembly Language Programming from Scratch

Enjoy your console output


Recommended