Re: if ax eq 0
 From: Mike Jones <spamtrap@xxxxxxxxxx>
 Date: Mon, 11 Jun 2007 15:00:10 GMT
Bob Masta wrote:
On Sun, 10 Jun 2007 06:11:26 0700, Andy <spamtrap@xxxxxxxxxx> wrote:or OR.
On Jun 9, 10:09 am, xyoavx <spamt...@xxxxxxxxxx> wrote:Hello,I use tasm but have never seen that format.
I don't understand why the following directives do not display an
error (using tasm version 2.02):
if ax eq 0
%out yes
endif
if instead of 0 i'll write 1, the following error will be displayed:
illegal use of register.
Thanks in advance,
Regards,
xyoavx
What do you wish to do ?
Maybe this would work.
cmp ax,0
jz is_zero
jmp short next
is_zero:
next:
Note that TEST AX,AX can do the same as CMP AX,0
in less space.
.
 FollowUps:
 Re: if ax eq 0
 From: Tim Roberts
 Re: if ax eq 0
 References:
 if ax eq 0
 From: xyoavx
 Re: if ax eq 0
 From: Andy
 Re: if ax eq 0
 From: Bob Masta
 if ax eq 0
 Prev by Date: Re: if ax eq 0
 Next by Date: Re: AT&T or Intel syntax ?
 Previous by thread: Re: if ax eq 0
 Next by thread: Re: if ax eq 0
 Index(es):
Relevant Pages
