i don't find any information about jns instruction in the masm doc... need help
Posted on 2005-07-08 07:47:31 by izy
It is a similar instruction to the jnz and jnc instructions except that the jump will depend on the condition of the SIGN flag instead of the ZERO or CARRY flags. The jump would be taken if the SIGN flag is clear.

The SIGN flag is affected by numerous CPU instructions depending on the result of that instruction but not by others. The description of each instruction must thus be consulted to determine its particular effect on the SIGN flag.

The js instruction is its counterpart where the jump would be taken if the SIGN flag is set.

Raymond
Posted on 2005-07-08 08:00:42 by Raymond
It means jmp if sign flag is not zero. It is set to the most significant bit of the result by instructions that modify the sign flag.
Posted on 2005-07-08 08:01:02 by roticv
Thank you !  :D
Posted on 2005-07-08 08:59:32 by izy
izy,

For your own reference, go to the Intel site and download the PIV manuals, they are THE BEST in terms of technical data. manual 2 is the one with the instructions in it. The rest are worth owning as they have the architecture and optimisation data in them.
Posted on 2005-07-08 08:59:59 by hutch--
... or print copies when they're available
http://developer.intel.com/design/pentium4/manuals/index2.htm
Posted on 2005-07-08 09:59:33 by jademtech