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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [h8300/] [h8sx_mov_imm.s] - Rev 38

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

	.h8300sx
	mov.b	#foo,r2l
	mov.b	#.L1,r2l
	mov.b	#bar,r2l
	mov.b	#foo,@er2
	mov.b	#.L1,@er2
	mov.b	#bar,@er2
	mov.b	#foo,@-er2
	mov.b	#.L1,@er2+
	mov.b	#bar,@er2-
	mov.b	#foo,@(2,er2)
	mov.b	#.L1,@(2,er2)
	mov.b	#bar,@(2,er2)
	mov.b	#foo,@(16,er2)
	mov.b	#.L1,@(16,er2)
	mov.b	#bar,@(16,er2)
	mov.b	#foo,@(16,r2l.b)
	mov.b	#.L1,@(16,r2.w)
	mov.b	#bar,@(16,er2.l)
	mov.b	#foo,@(0x12345,er2)
	mov.b	#.L1,@(0x12345,er2)
	mov.b	#bar,@(0x12345,er2)
	mov.b	#foo,@(0x12345,r2l.b)
	mov.b	#.L1,@(0x12345,r2.w)
	mov.b	#bar,@(0x12345,er2.l)
	mov.b	#foo,@0xffff8000
	mov.b	#.L1,@0xffff8000
	mov.b	#bar,@0xffff8000
	mov.b	#foo,@0x18000
	mov.b	#.L1,@0x18000
	mov.b	#bar,@0x18000
 
	mov.w	#foo,r2
	mov.w	#.L1,r2
	mov.w	#bar,r2
	mov.w	#foo,@er2
	mov.w	#.L1,@er2
	mov.w	#bar,@er2
	mov.w	#foo,@-er2
	mov.w	#.L1,@er2+
	mov.w	#bar,@er2-
	mov.w	#foo,@(4,er2)
	mov.w	#.L1,@(4,er2)
	mov.w	#bar,@(4,er2)
	mov.w	#foo,@(16,er2)
	mov.w	#.L1,@(16,er2)
	mov.w	#bar,@(16,er2)
	mov.w	#foo,@(16,r2l.b)
	mov.w	#.L1,@(16,r2.w)
	mov.w	#bar,@(16,er2.l)
	mov.w	#foo,@(0x12345,er2)
	mov.w	#.L1,@(0x12345,er2)
	mov.w	#bar,@(0x12345,er2)
	mov.w	#foo,@(0x12345,r2l.b)
	mov.w	#.L1,@(0x12345,r2.w)
	mov.w	#bar,@(0x12345,er2.l)
	mov.w	#foo,@0xffff8000
	mov.w	#.L1,@0xffff8000
	mov.w	#bar,@0xffff8000
	mov.w	#foo,@0x18000
	mov.w	#.L1,@0x18000
	mov.w	#bar,@0x18000
 
.L1:
	mov.l	#foo,er2
	mov.l	#.L1,er2
	mov.l	#bar,er2
	mov.l	#foo,@er2
	mov.l	#.L1,@er2
	mov.l	#bar,@er2
	mov.l	#foo,@-er2
	mov.l	#.L1,@er2+
	mov.l	#bar,@er2-
	mov.l	#foo,@(8,er2)
	mov.l	#.L1,@(8,er2)
	mov.l	#bar,@(8,er2)
	mov.l	#foo,@(16,er2)
	mov.l	#.L1,@(16,er2)
	mov.l	#bar,@(16,er2)
	mov.l	#foo,@(16,r2l.b)
	mov.l	#.L1,@(16,r2.w)
	mov.l	#bar,@(16,er2.l)
	mov.l	#foo,@(0x12345,er2)
	mov.l	#.L1,@(0x12345,er2)
	mov.l	#bar,@(0x12345,er2)
	mov.l	#foo,@(0x12345,r2l.b)
	mov.l	#.L1,@(0x12345,r2.w)
	mov.l	#bar,@(0x12345,er2.l)
	mov.l	#foo,@0xffff8000
	mov.l	#.L1,@0xffff8000
	mov.l	#bar,@0xffff8000
	mov.l	#foo,@0x18000
	mov.l	#.L1,@0x18000
	mov.l	#bar,@0x18000
 
	mov.w	#-1,@er0
	mov.w	#0,@er0
	mov.w	#1,@er0
	mov.w	#0xff,@er0
	mov.w	#0x100,@er0
 
	mov.l	#-1,@er0
	mov.l	#0,@er0
	mov.l	#1,@er0
	mov.l	#0xff,@er0
	mov.l	#0x100,@er0
 
	.globl	bar
bar:
	.space	16
 

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.