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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [mt/] [ldst.s] - Rev 830

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

; load/store tests
 
	.data
 
ldw_data:
	.word 0xbabeface
 
	.text
 
ld_text:
	ld	r4, r3
	ld	r3, #8
	ld	r5, #ld_text
	ldh	r6, #ldh_text
	ldh	r4, #4000
	ldh	r5, #0x8000
	ldh	r5, #-5
	ldh	r5, #-0x8000
	ldh	r0, #0xffff
ldh_text:
	ldw	r9, #30233000
	ldw	r3, #ldw_data
	ldb	r3, @[r9+r2]
	ldb	@[r9+r3], r5	; store
	ldb	r3, @[r8+6]
	ldb	@[r8+7], r3	; store
	ldw	r9, @[r14+23]
	ldw	@[r14+10], r9	; store
 

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.