projects
/
external
/
binutils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
MIPS/opcodes: Correct mixed MIPS16 and microMIPS disassembly
[external/binutils.git]
/
binutils
/
testsuite
/
binutils-all
/
mips
/
mixed-mips16-micromips.s
1
.align 4, 0
2
.set mips16
3
.globl foo
4
.ent foo
5
foo:
6
lw $v0, .foo.data
7
lw $v1, 0($v0)
8
move $t9, $v1
9
jr $v1
10
11
.type .foo.data, @object
12
.foo.data:
13
.word 0x40404040
14
.size .foo.data, . - .foo.data
15
.end foo
16
.set nomips16
17
18
.align 4, 0
19
.set micromips
20
.globl bar
21
.ent bar
22
bar:
23
lui $v1, 0
24
lw $t9, 0($v1)
25
jrc $t9
26
nop
27
.end bar
28
.set nomicromips
29
30
# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
31
.align 4, 0
32
.space 16