OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [cr16/] [or_test.s] - Rev 832

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

        .text
        .global main
main:
        ###########
	# ORB imm4/imm16, reg
        ###########
	orb    $0xf,r1
	orb    $0xff,r2
	orb    $0xfff,r1
	orb    $0xffff,r2
	orb    $20,r1
	orb    $10,r2
        ###########
	# ORB reg, reg
        ###########
	orb    r1,r2
	orb    r2,r3
	orb    r3,r4
	orb    r5,r6
	orb    r6,r7
	orb    r7,r8
        ###########
	# ORW imm4/imm16, reg
        ###########
	orw    $0xf,r1
	orw    $0xff,r2
	orw    $0xfff,r1
	orw    $0xffff,r2
	orw    $20,r1
	orw    $10,r2
        ###########
	# ORW reg, reg
        ###########
	orw    r1,r2
	orw    r2,r3
	orw    r3,r4
	orw    r5,r6
	orw    r6,r7
	orw    r7,r8
        ###########
	# ORD imm32, regp
        ###########
	ord    $0xf,(r2,r1)
	ord    $0xff,(r2,r1)
	ord    $0xfff,(r2,r1)
	ord    $0xffff,(r2,r1)
	ord    $0xfffff,(r2,r1)
	ord    $0xfffffff,(r2,r1)
	ord    $0xffffffff,(r2,r1)
        ###########
	# ORD regp, regp
        ###########
	ord    (r4,r3),(r2,r1)
	ord    (r4,r3),(r2,r1)
	#ord    $10,(sp)
	#ord    $14,(sp)
	#ord    $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.