Mixed C and Assembly Language Programming from Scratch

Post on 01-Jan-2016

29 views 5 download

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

Mixed C and Assembly Language Programming from Scratch

RTFM? We don’t need to 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

Select the disassembly view

Write an assembly routine

If asked, select the MASM rule

Add prototype and method call

Enjoy your console output