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 188125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T15:56:56+00:00 2026-05-11T15:56:56+00:00

the following script works fine if I type it line-by-line in debug. When I

  • 0

the following script works fine if I type it line-by-line in debug. When I copy it to a file called script.txt, it hangs up after ‘enter 3 numbers’. I run it like so:

D:>debug < script.txt

the file is:

a mov cx, 3 jmp 0119 db 0d,0a,'enter 3 numbers',0d,0a,'$' mov dx, 0105 mov ah, 09 int 21h mov ah, 01 int 21h and al, 0f add bl, al mov dl, 0a mov ah, 02 int 21h loop 0120 jmp 013a db 0d,0a,'sum: ','$' mov dx,0132 mov ah, 09 int 21h or bl, 30 mov dl, bl mov ah, 02 int 21h mov ax, 4c00 int 21h  g 

what am I doing wrong? Any hints or links appreciated. keith

  • 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. 2026-05-11T15:56:56+00:00Added an answer on May 11, 2026 at 3:56 pm

    You redirected input to debug to be from the script, not from the console, so debug is never receiving your keystrokes The program is hanging, waiting for more data to come in from the script.

    If you put 3 numbers after the ‘g’ in the script, it should continue

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

Sidebar

Related Questions

The following script works fine: $(#regform).validate().showErrors({username:message}); After I changed the script to the below
I have the following code that works fine in IE: <HTML> <BODY> <script language=JavaScript>
The following script works to open Firefox's location/awesome bar from anywhere using control-l ,
I have the following script that works well in Firefox and Chrome (not sure
The following code works fine as a independant page as itself. But if incorporated
I have the following script which works kind of... $(document).ready(function(){ // add or remove
I would like to declare the following type in my powershell script: Add-Type @'
I am trying to insert values to a csv file through the following script....the
I have following code. It works fine in firefox but is not working in
I have the following script to output an image to the browser wich works

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.