• anonymous
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
Computer Science
  • Stacey Warren - Expert
Hey! We 've verified this expert answer for you, click below to unlock the details :)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
  • jamiebookeater
I got my questions answered at in under 10 minutes. Go to now for free help!
  • e.mccormick
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.
  • anonymous

Looking for something else?

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