Mercurial > lcfOS
diff test/testx86asm.py @ 287:1c7c1e619be8
File movage
author | Windel Bouwman |
---|---|
date | Thu, 21 Nov 2013 11:57:27 +0100 |
parents | 05184b95fa16 |
children | 534b94b40aa8 |
line wrap: on
line diff
--- a/test/testx86asm.py Fri Nov 15 13:52:32 2013 +0100 +++ b/test/testx86asm.py Thu Nov 21 11:57:27 2013 +0100 @@ -24,6 +24,7 @@ def testCall(self): assert(assembler.call('r10') == [0x41, 0xff, 0xd2]) assert(assembler.call('rcx') == [0xff, 0xd1]) + def testXOR(self): assert(assembler.xorreg64('rax', 'rax') == [0x48, 0x31, 0xc0]) assert(assembler.xorreg64('r9', 'r8') == [0x4d, 0x31, 0xc1])