Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9250695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T10:30:26+00:00 2026-06-18T10:30:26+00:00

I want to write 16 bit 8086 assembly code in visual studio 2010 but

  • 0

I want to write 16 bit 8086 assembly code in visual studio 2010
but gives me error:
code:

.MODEL small
.STACK 100h
.data
 message BYTE "Hello, world!","$"
.code
_start:
mov ah,9
lea dx,message ; addr of buffer
int 21h
END _start

output gives me this error:

Link:  
Microsoft (R) Segmented Executable Linker  Version 5.60.339 Dec  5 1994
Copyright (C) Microsoft Corp 1984-1993.  All rights reserved.  
warning L4017: /ERRORREPORT : unrecognized option name; option ignored
LINK : fatal error L1093: Files\Microsoft Visual Studio 10.0\VC\bin\link.exe : 
object file not found
Build FAILED.

what should I to do?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T10:30:28+00:00Added an answer on June 18, 2026 at 10:30 am

    Really not sure what the problem is. I have never uses VS for Assembly. There are great Assembly IDEs out there that are better than VS IMHO – RadASM, WinASM.
    This code:

    .MODEL small
    .STACK 100h
    .data
     message BYTE "Hello, world!","$"
    .code
    _start:
    mov ah,9
    lea dx,message ; addr of buffer
    int 21h
    END _start
    

    Assembles and links fine with this batch file:

    @ECHO ON
    del dosdisplay.exe
    ML.EXE /DMASM /DDOS /Zm /c /nologo /I"d:\masm32\Include" "dosdisplay.asm"
    link16.exe /NOLOGO "dosdisplay.obj" "",,,,,""
    

    Assembler and Linker versions that I use:

    Microsoft (R) Macro Assembler Version 6.15.8803

    Microsoft (R) Segmented Executable Linker Version 5.60.339 Dec 5 1994

    What is link? Isn’t that the 32bit version? or is the 16bit name the same? Not sure, been using these 2 files/versions for many, many years for DOS apps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to write 16 bit 8086 assembly code in visual studio 2010 but
I want to write a small bit of data from my app to the
I want to write code that compiles easily for either 32 or 64 bit
I want to write one single bit to a binary file. using (FileStream fileStream
I want write a little code analyzer which parses nested structures and translates into
I want to learn 32-bit assembly. I got some programming background, mostly high-level languages
I want to write a String to a Unicode file. My code in Java
I want to write some macro specific to Excel 64 bit., the below link
A bit of a strange one, I want to write a MySQL query that
I want to write a byte to register with specific memory address (0x1228A432) But,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.