A community for students.

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing


  • 3 years ago

in x86 Assembly Language i have been getting at least two additional characters in my display... what is wring with my code? I am new to this so can anyone lend a hand? .model small .stack 100h .data first db 6 dup("$") .code start: mov ax,@data mov ds,ax mov byte ptr first,04h lea dx,first mov ah,0Ah int 21h mov ah,09h mov dx,offset first int 21h mov ah,4ch int 21h end start

  • This Question is Closed
  1. e.mccormick
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I never learned much assembly, but I can tell you that if you get extra then in general that means one of two things: You read past the memory involved in storing something and displayed garbage next to it. You iterated through something too many times and displayed extra copies. And the second can lead to the first.

  2. anonymous
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0


  3. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...


  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.