HardwareHeaven.com

HardwareHeaven.com

Looking for the skin chooser?
 
 
  • Home

  • Hardware reviews

  • Articles

  • News

  • Tools

  • Gaming at HardwareHeaven

  • Forums

 

Go Back   HardwareHeaven.com > Forums > Hardware and Related Topics > kX Project Audio Driver Support Forum > Effects and the DSP


Reply
 
Thread Tools
Old Mar 5, 2007, 03:22 PM   #1
HardwareHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 5,563
Rep Power: 62
Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!

ANDXOR Instruction

The ANDXOR instruction (currently) is not really documented in the guide, but is documented in the AS10k1 Online manual.

However, I noticed that the documentation (as well as the macro in the emu_constants.asm file) in the AS10k1 Manual for implementing logical 'OR' is not correct.

The correct implementation is as follows:

Code:
; ANDXOR = (A AND X) XOR Y

; Y OR X = (NOT(Y) AND X) XOR Y
andxor tmp, Y, 0xffffffff, 0xffffffff;
andxor tmp, tmp, X, Y;
I just thought I would post this in case anyone ever has the need for using logical 'OR' in their code.

If anyone wants to post anything else about the ANDXOR instruction, maybe posting it in this thread would be a good idea...

-Russ

Last edited by Russ; Mar 5, 2007 at 03:32 PM.
Russ is offline   Reply With Quote


Reply

Thread Tools