Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Assembly x86 > error while deb...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 4636 of 4646
Post > Topic >>

error while debugging

by LR <spamtrap@[EMAIL PROTECTED] > Apr 29, 2008 at 02:00 PM

locals
..MODEL  SMALL
; --------------- DANE -------------------
Dane            SEGMENT
liczba db '17.79',0

Dane            ENDS
; ----------------------------------------

Kod             SEGMENT
                ASSUME  CS:Kod, DS:Dane



Start:
mov ax,seg dane
mov ds,ax

mov bx,offset liczba

mov cx,5

@[EMAIL PROTECTED]
 si,cx

dec si

mov al,[bx+si] ; pobierz cyfre

cmp al,'.'
je @[EMAIL PROTECTED]
 @[EMAIL PROTECTED]
 ax,1

@[EMAIL PROTECTED]
 ax,2
;-------------------------------------------------------------

                mov     ax, 4C00h
                int     21h

Kod ends

end Start


Why is program terminated when i press F8 (Turbo debugger) on loop
instruction ?




 2 Posts in Topic:
error while debugging
LR <spamtrap@[EMAIL P  2008-04-29 14:00:38 
Re: error while debugging
"Alexei A. Frounze&q  2008-04-29 17:20:38 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue May 13 16:34:59 CDT 2008.