OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [cr16/] [xor_test.s] - Rev 38

Go to most recent revision | Compare with Previous | Blame | View Log

        .text
        .global main
main:
        ###########
	# XORB imm4/imm16, reg
        ###########
	xorb    $0xf,r1
	xorb    $0xff,r2
	xorb    $0xfff,r1
	xorb    $0xffff,r2
	xorb    $20,r1
	xorb    $10,r2
        ###########
	# XORB reg, reg
        ###########
	xorb    r1,r2
	xorb    r2,r3
	xorb    r3,r4
	xorb    r5,r6
	xorb    r6,r7
	xorb    r7,r8
        ###########
	# XORW imm4/imm16, reg
        ###########
	xorw    $0xf,r1
	xorw    $0xff,r2
	xorw    $0xfff,r1
	xorw    $0xffff,r2
	xorw    $20,r1
	xorw    $10,r2
        ###########
	# XORW reg, reg
        ###########
	xorw    r1,r2
	xorw    r2,r3
	xorw    r3,r4
	xorw    r5,r6
	xorw    r6,r7
	xorw    r7,r8
        ###########
	# XORD imm32, regp
        ###########
	xord    $0xf,(r2,r1)
	xord    $0xff,(r2,r1)
	xord    $0xfff,(r2,r1)
	xord    $0xffff,(r2,r1)
	xord    $0xfffff,(r2,r1)
	xord    $0xfffffff,(r2,r1)
	xord    $0xffffffff,(r2,r1)
        ###########
	# XORD regp, regp
        ###########
	xord    (r4,r3),(r2,r1)
	xord    (r4,r3),(r2,r1)
	#xord    $10,(sp)
	#xord    $14,(sp)
	#xord    $8,(sp)
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.