|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
HardwareHeaven Extreme Member
Join Date: Jan 2005
Posts: 5,563
Rep Power: 62 ![]() ![]() ![]() ![]() ![]() ![]() |
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; 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. |
|
|
|
![]() |
| Thread Tools | |
|
|