Re: Question about jumps



Hello,

Frank Kotler wrote:
"suclen" includes both strings. Try it like this:

successmsg db "eax is set to 1.", 0, 10
succlen equ $-successmsg
errmsg db "eax is not 1.", 0, 10
errlen equ $-errmsg

You were right, but now I'm totally confused. What has the definition
order to do with the program execution?

.



Relevant Pages

  • Re: Question about jumps
    ... succlen equ $-successmsg ... errlen equ $-errmsg ... If it *did* terminate on the zero, you wouldn't get the linefeed. ...
    (alt.lang.asm)
  • Re: Question about jumps
    ... Markus Pitha wrote: ... the program executes both the if branch and the else branch, ... succlen equ $-successmsg ... errlen equ $-errmsg ...
    (alt.lang.asm)