Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++ 2005
|
Visual C++ 2005 For discussion of Visual C++ 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 21st, 2007, 01:20 AM
Registered User
 
Join Date: Sep 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Simple assembly program runtime error

I'm new to assembly language and the VS2005 environment. When I wrote a simple program as follows:

.386
.model flat,stdcall
.stack 100h
.code
start:
mov ah,1
int 21h
end start

The compilation and linkage all passed well, but at runtime a dialogbox displayed: "filename.exe has encountered a problem and needs to close. We are sorry for the inconvenience."

No difference is made when "mov ah,1
int 21h" is changed to any other code.

Can anybody help me?







Similar Threads
Thread Thread Starter Forum Replies Last Post
assembly program help mapaputsi Assembly Language 1 September 11th, 2007 09:54 AM
Simple Program Help hobbit666 Visual Basic 2005 Basics 2 December 19th, 2006 11:51 AM
Simple Java Program WargeMaster Java GUI 1 September 9th, 2005 12:25 PM
Error : File or assembly name CrystalKeyCodeLib, o vinod_pawar1 Crystal Reports 0 August 23rd, 2004 04:53 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.