Subject: x86 assembly
To: None <netbsd-help@NetBSD.org>
From: Madhvesh R S <madhvesh.s@ap.sony.com>
List: netbsd-help
Date: 05/20/2004 11:11:12
Hi,

I am very new to x86 assembly, i wanted clarification
from any one who knows it better...

I have written one x86 assembly program in which 
i am comparing the results of %eax with code fragment1
as indicated below. Meanwhile can i replace this
code fragment1 with code fragment2 by assuming that
%eax contains -1 as return value before executing any
of the code fragments

Code Fragment 1:
	test %eax, %eax
	jl sys_error

Code Fragment 2:
	cmpl $-4095, %eax
	jae sys_error	

Thanks in advance
-MS