flat assembler
Message board for the users of flat assembler.

Index > Windows > any way to overcome saturation in PSUBUSB?

Author
Thread Post new topic Reply to topic
john_25



Joined: 05 Jun 2014
Posts: 5
john_25
according to:
http://www.jaist.ac.jp/iscenter-new/mpc/altix/altixdata/opt/intel/vtune/doc/users_guide/mergedProjects/analyzer_ec/mergedProjects/reference_olh/mergedProjects/instructions/instruct32_hh/vc263.htm

it states:

Quote:

The PSUBUSB instruction subtracts packed unsigned byte integers. When an individual byte result is less than zero (a negative value), the saturated value of 00H is written to the destination operand.


anyway to over come this and keep the negative values?
Post 08 Jun 2014, 07:07
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17665
Location: In your JS exploiting you and your system
revolution
Use an unsaturating instruction like PSUBB.

BTW: Both Intel and AMD have freely downloadable PDFs of the official instruction sets.
Post 08 Jun 2014, 07:14
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.