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

  • Home
  • SEARCH
  • 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 8569379
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T18:19:15+00:00 2026-06-11T18:19:15+00:00

just started learning Assembler in school, and want to ask how to compile this

  • 0

just started learning Assembler in school, and want to ask
how to compile this code:

stek Segment Stack
DB 256 DUP(?)
stek ENDS

CR EQU 13
EF EQU 10

Duom SEGMENT
pranesimas DB 'Hello Word', CR,EF
           DB 'Made By Edgar' $
Duom ENDS


prog SEGMENT

ASSUME CS:programa,ds:Duomenis,ss:stekas

START:
        MOV ax,duomenis
        MOV ds,ax

        MOV ah,09
        LEA dx,Pranesimas
        INT 21h


        MOV ah,4ch
Prog ENDS

END START

on windows 7 x64

because in school we have Xp x32, the way we compile in school does not work on x64 windows.

  • 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-11T18:19:16+00:00Added an answer on June 11, 2026 at 6:19 pm

    The newer versions of Windows have dropped the 16-bit support that used to be there in XP, so to compile the program (a 16 bit DOS program), you’ll need to install DOSBox, Bochs or similar emulator.

    They will emulate the 16-bit environment so you should be able to run DOS with both the assembler and resulting code on your 64-bit Windows (or Mac/Linux machine for that matter)

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

Sidebar

Related Questions

I just started learning C but I don't understand this part of the code.
I just started learning some ruby, and I want to do something like this:
Just started learning PySide and is having problem with QTimer I have this #!/usr/bin/python
I just started learning RoR. This is my /app/trip_controller.rb file class TripController < ApplicationController
I just started learning C++ and am currently using codeblocks. I want to write
I just started learning C++ couple of weeks ago. So now I have this
I just started learning swing, and couldn't find any clear instructions for this: I'd
Just started learning Haskell. I have an empty source file with this inside: pe
Just started learning mvc3. I've built a fairly basic website (also using EF-Code-First if
I just started learning assembler language. I came across the concept of EQU. At

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.