File: vle-multiseg.s

package info (click to toggle)
binutils-djgpp 2.35.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 321,228 kB
  • sloc: ansic: 1,162,947; asm: 671,219; cpp: 134,012; exp: 70,783; makefile: 55,860; sh: 22,254; yacc: 14,459; lisp: 13,806; perl: 2,008; lex: 1,649; pascal: 307; sed: 195; awk: 25
file content (50 lines) | stat: -rw-r--r-- 886 bytes parent folder | download | duplicates (26)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Make up several VLE text sections which the linker script will put into
# separate output sections.  We will then check for separate load segments.
#	.include "mpc5500_usrdefs.inc"
#	.section ".text_vle"

	e_stw    r12, 0x4C(r1)
	e_stw    r11, 0x48(r1)
	e_stw    r10, 0x44(r1)
	e_stw    r9,  0x40(r1)
	e_stw    r8,  0x3C(r1)
	e_stw    r7,  0x38(r1)
	e_stw    r6,  0x34(r1)
	e_stw    r5,  0x30(r1)
	e_stw    r4,  0x2c(r1)

        .globl   IV_table
	.section ".iv_handlers", "ax"
IV_table:
	e_b dummy
	.align 4
	e_b dummy
	.align 4
	e_b dummy
	.align 4
	e_b dummy
	.align 4
	e_b dummy
	.align 4
	e_b dummy
	.align 4
	e_b dummy
	.align 4
	e_b dummy
	.align 4
dummy:
	se_nop
	e_b dummy

	.section ".text_iv", "ax"
	e_lis r3, IV_table@h
	mtivpr r3
	e_li r3, IV_table@l+0x00
	mtivor0 r3
	e_li r3, IV_table@l+0x10
	mtivor1 r3
	e_li r3, IV_table@l+0x20
	mtivor2 r3

	.data
	.long 0xdeadbeef