URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 816 |
Rev 818 |
.data
|
.data
|
foodata: .word 42
|
foodata: .word 42
|
.text
|
.text
|
footext:
|
footext:
|
.text
|
.text
|
.global add
|
.global add
|
add:
|
add:
|
add fp,fp
|
add fp,fp
|
.text
|
.text
|
.global add3
|
.global add3
|
add3:
|
add3:
|
add3 fp,fp,#0
|
add3 fp,fp,#0
|
.text
|
.text
|
.global and
|
.global and
|
and:
|
and:
|
and fp,fp
|
and fp,fp
|
.text
|
.text
|
.global and3
|
.global and3
|
and3:
|
and3:
|
and3 fp,fp,#0
|
and3 fp,fp,#0
|
.text
|
.text
|
.global or
|
.global or
|
or:
|
or:
|
or fp,fp
|
or fp,fp
|
.text
|
.text
|
.global or3
|
.global or3
|
or3:
|
or3:
|
or3 fp,fp,#0
|
or3 fp,fp,#0
|
.text
|
.text
|
.global xor
|
.global xor
|
xor:
|
xor:
|
xor fp,fp
|
xor fp,fp
|
.text
|
.text
|
.global xor3
|
.global xor3
|
xor3:
|
xor3:
|
xor3 fp,fp,#0
|
xor3 fp,fp,#0
|
.text
|
.text
|
.global addi
|
.global addi
|
addi:
|
addi:
|
addi fp,#0
|
addi fp,#0
|
.text
|
.text
|
.global addv
|
.global addv
|
addv:
|
addv:
|
addv fp,fp
|
addv fp,fp
|
.text
|
.text
|
.global addv3
|
.global addv3
|
addv3:
|
addv3:
|
addv3 fp,fp,#0
|
addv3 fp,fp,#0
|
.text
|
.text
|
.global addx
|
.global addx
|
addx:
|
addx:
|
addx fp,fp
|
addx fp,fp
|
.text
|
.text
|
.global bc8
|
.global bc8
|
bc8:
|
bc8:
|
bc footext
|
bc footext
|
.text
|
.text
|
.global bc8_s
|
.global bc8_s
|
bc8_s:
|
bc8_s:
|
bc.s footext
|
bc.s footext
|
.text
|
.text
|
.global bc24
|
.global bc24
|
bc24:
|
bc24:
|
bc footext
|
bc footext
|
.text
|
.text
|
.global bc24_l
|
.global bc24_l
|
bc24_l:
|
bc24_l:
|
bc.l footext
|
bc.l footext
|
.text
|
.text
|
.global beq
|
.global beq
|
beq:
|
beq:
|
beq fp,fp,footext
|
beq fp,fp,footext
|
.text
|
.text
|
.global beqz
|
.global beqz
|
beqz:
|
beqz:
|
beqz fp,footext
|
beqz fp,footext
|
.text
|
.text
|
.global bgez
|
.global bgez
|
bgez:
|
bgez:
|
bgez fp,footext
|
bgez fp,footext
|
.text
|
.text
|
.global bgtz
|
.global bgtz
|
bgtz:
|
bgtz:
|
bgtz fp,footext
|
bgtz fp,footext
|
.text
|
.text
|
.global blez
|
.global blez
|
blez:
|
blez:
|
blez fp,footext
|
blez fp,footext
|
.text
|
.text
|
.global bltz
|
.global bltz
|
bltz:
|
bltz:
|
bltz fp,footext
|
bltz fp,footext
|
.text
|
.text
|
.global bnez
|
.global bnez
|
bnez:
|
bnez:
|
bnez fp,footext
|
bnez fp,footext
|
.text
|
.text
|
.global bl8
|
.global bl8
|
bl8:
|
bl8:
|
bl footext
|
bl footext
|
.text
|
.text
|
.global bl8_s
|
.global bl8_s
|
bl8_s:
|
bl8_s:
|
bl.s footext
|
bl.s footext
|
.text
|
.text
|
.global bl24
|
.global bl24
|
bl24:
|
bl24:
|
bl footext
|
bl footext
|
.text
|
.text
|
.global bl24_l
|
.global bl24_l
|
bl24_l:
|
bl24_l:
|
bl.l footext
|
bl.l footext
|
.text
|
.text
|
.global bnc8
|
.global bnc8
|
bnc8:
|
bnc8:
|
bnc footext
|
bnc footext
|
.text
|
.text
|
.global bnc8_s
|
.global bnc8_s
|
bnc8_s:
|
bnc8_s:
|
bnc.s footext
|
bnc.s footext
|
.text
|
.text
|
.global bnc24
|
.global bnc24
|
bnc24:
|
bnc24:
|
bnc footext
|
bnc footext
|
.text
|
.text
|
.global bnc24_l
|
.global bnc24_l
|
bnc24_l:
|
bnc24_l:
|
bnc.l footext
|
bnc.l footext
|
.text
|
.text
|
.global bne
|
.global bne
|
bne:
|
bne:
|
bne fp,fp,footext
|
bne fp,fp,footext
|
.text
|
.text
|
.global bra8
|
.global bra8
|
bra8:
|
bra8:
|
bra footext
|
bra footext
|
.text
|
.text
|
.global bra8_s
|
.global bra8_s
|
bra8_s:
|
bra8_s:
|
bra.s footext
|
bra.s footext
|
.text
|
.text
|
.global bra24
|
.global bra24
|
bra24:
|
bra24:
|
bra footext
|
bra footext
|
.text
|
.text
|
.global bra24_l
|
.global bra24_l
|
bra24_l:
|
bra24_l:
|
bra.l footext
|
bra.l footext
|
.text
|
.text
|
.global cmp
|
.global cmp
|
cmp:
|
cmp:
|
cmp fp,fp
|
cmp fp,fp
|
.text
|
.text
|
.global cmpi
|
.global cmpi
|
cmpi:
|
cmpi:
|
cmpi fp,#0
|
cmpi fp,#0
|
.text
|
.text
|
.global cmpu
|
.global cmpu
|
cmpu:
|
cmpu:
|
cmpu fp,fp
|
cmpu fp,fp
|
.text
|
.text
|
.global cmpui
|
.global cmpui
|
cmpui:
|
cmpui:
|
cmpui fp,#0
|
cmpui fp,#0
|
.text
|
.text
|
.global div
|
.global div
|
div:
|
div:
|
div fp,fp
|
div fp,fp
|
.text
|
.text
|
.global divu
|
.global divu
|
divu:
|
divu:
|
divu fp,fp
|
divu fp,fp
|
.text
|
.text
|
.global rem
|
.global rem
|
rem:
|
rem:
|
rem fp,fp
|
rem fp,fp
|
.text
|
.text
|
.global remu
|
.global remu
|
remu:
|
remu:
|
remu fp,fp
|
remu fp,fp
|
.text
|
.text
|
.global jl
|
.global jl
|
jl:
|
jl:
|
jl fp
|
jl fp
|
.text
|
.text
|
.global jmp
|
.global jmp
|
jmp:
|
jmp:
|
jmp fp
|
jmp fp
|
.text
|
.text
|
.global ld
|
.global ld
|
ld:
|
ld:
|
ld fp,@fp
|
ld fp,@fp
|
.text
|
.text
|
.global ld_2
|
.global ld_2
|
ld_2:
|
ld_2:
|
ld fp,@(fp)
|
ld fp,@(fp)
|
.text
|
.text
|
.global ld_d
|
.global ld_d
|
ld_d:
|
ld_d:
|
ld fp,@(0,fp)
|
ld fp,@(0,fp)
|
.text
|
.text
|
.global ld_d2
|
.global ld_d2
|
ld_d2:
|
ld_d2:
|
ld fp,@(fp,0)
|
ld fp,@(fp,0)
|
.text
|
.text
|
.global ldb
|
.global ldb
|
ldb:
|
ldb:
|
ldb fp,@fp
|
ldb fp,@fp
|
.text
|
.text
|
.global ldb_2
|
.global ldb_2
|
ldb_2:
|
ldb_2:
|
ldb fp,@(fp)
|
ldb fp,@(fp)
|
.text
|
.text
|
.global ldb_d
|
.global ldb_d
|
ldb_d:
|
ldb_d:
|
ldb fp,@(0,fp)
|
ldb fp,@(0,fp)
|
.text
|
.text
|
.global ldb_d2
|
.global ldb_d2
|
ldb_d2:
|
ldb_d2:
|
ldb fp,@(fp,0)
|
ldb fp,@(fp,0)
|
.text
|
.text
|
.global ldh
|
.global ldh
|
ldh:
|
ldh:
|
ldh fp,@fp
|
ldh fp,@fp
|
.text
|
.text
|
.global ldh_2
|
.global ldh_2
|
ldh_2:
|
ldh_2:
|
ldh fp,@(fp)
|
ldh fp,@(fp)
|
.text
|
.text
|
.global ldh_d
|
.global ldh_d
|
ldh_d:
|
ldh_d:
|
ldh fp,@(0,fp)
|
ldh fp,@(0,fp)
|
.text
|
.text
|
.global ldh_d2
|
.global ldh_d2
|
ldh_d2:
|
ldh_d2:
|
ldh fp,@(fp,0)
|
ldh fp,@(fp,0)
|
.text
|
.text
|
.global ldub
|
.global ldub
|
ldub:
|
ldub:
|
ldub fp,@fp
|
ldub fp,@fp
|
.text
|
.text
|
.global ldub_2
|
.global ldub_2
|
ldub_2:
|
ldub_2:
|
ldub fp,@(fp)
|
ldub fp,@(fp)
|
.text
|
.text
|
.global ldub_d
|
.global ldub_d
|
ldub_d:
|
ldub_d:
|
ldub fp,@(0,fp)
|
ldub fp,@(0,fp)
|
.text
|
.text
|
.global ldub_d2
|
.global ldub_d2
|
ldub_d2:
|
ldub_d2:
|
ldub fp,@(fp,0)
|
ldub fp,@(fp,0)
|
.text
|
.text
|
.global lduh
|
.global lduh
|
lduh:
|
lduh:
|
lduh fp,@fp
|
lduh fp,@fp
|
.text
|
.text
|
.global lduh_2
|
.global lduh_2
|
lduh_2:
|
lduh_2:
|
lduh fp,@(fp)
|
lduh fp,@(fp)
|
.text
|
.text
|
.global lduh_d
|
.global lduh_d
|
lduh_d:
|
lduh_d:
|
lduh fp,@(0,fp)
|
lduh fp,@(0,fp)
|
.text
|
.text
|
.global lduh_d2
|
.global lduh_d2
|
lduh_d2:
|
lduh_d2:
|
lduh fp,@(fp,0)
|
lduh fp,@(fp,0)
|
.text
|
.text
|
.global ld_plus
|
.global ld_plus
|
ld_plus:
|
ld_plus:
|
ld fp,@fp+
|
ld fp,@fp+
|
.text
|
.text
|
.global ld24
|
.global ld24
|
ld24:
|
ld24:
|
ld24 fp,foodata
|
ld24 fp,foodata
|
.text
|
.text
|
.global ldi8
|
.global ldi8
|
ldi8:
|
ldi8:
|
ldi fp,0
|
ldi fp,0
|
.text
|
.text
|
.global ldi16
|
.global ldi16
|
ldi16:
|
ldi16:
|
ldi fp,256
|
ldi fp,256
|
.text
|
.text
|
.global lock
|
.global lock
|
lock:
|
lock:
|
lock fp,@fp
|
lock fp,@fp
|
.text
|
.text
|
.global machi
|
.global machi
|
machi:
|
machi:
|
machi fp,fp
|
machi fp,fp
|
.text
|
.text
|
.global maclo
|
.global maclo
|
maclo:
|
maclo:
|
maclo fp,fp
|
maclo fp,fp
|
.text
|
.text
|
.global macwhi
|
.global macwhi
|
macwhi:
|
macwhi:
|
macwhi fp,fp
|
macwhi fp,fp
|
.text
|
.text
|
.global macwlo
|
.global macwlo
|
macwlo:
|
macwlo:
|
macwlo fp,fp
|
macwlo fp,fp
|
.text
|
.text
|
.global mul
|
.global mul
|
mul:
|
mul:
|
mul fp,fp
|
mul fp,fp
|
.text
|
.text
|
.global mulhi
|
.global mulhi
|
mulhi:
|
mulhi:
|
mulhi fp,fp
|
mulhi fp,fp
|
.text
|
.text
|
.global mullo
|
.global mullo
|
mullo:
|
mullo:
|
mullo fp,fp
|
mullo fp,fp
|
.text
|
.text
|
.global mulwhi
|
.global mulwhi
|
mulwhi:
|
mulwhi:
|
mulwhi fp,fp
|
mulwhi fp,fp
|
.text
|
.text
|
.global mulwlo
|
.global mulwlo
|
mulwlo:
|
mulwlo:
|
mulwlo fp,fp
|
mulwlo fp,fp
|
.text
|
.text
|
.global mv
|
.global mv
|
mv:
|
mv:
|
mv fp,fp
|
mv fp,fp
|
.text
|
.text
|
.global mvfachi
|
.global mvfachi
|
mvfachi:
|
mvfachi:
|
mvfachi fp
|
mvfachi fp
|
.text
|
.text
|
.global mvfaclo
|
.global mvfaclo
|
mvfaclo:
|
mvfaclo:
|
mvfaclo fp
|
mvfaclo fp
|
.text
|
.text
|
.global mvfacmi
|
.global mvfacmi
|
mvfacmi:
|
mvfacmi:
|
mvfacmi fp
|
mvfacmi fp
|
.text
|
.text
|
.global mvfc
|
.global mvfc
|
mvfc:
|
mvfc:
|
mvfc fp,psw
|
mvfc fp,psw
|
.text
|
.text
|
.global mvtachi
|
.global mvtachi
|
mvtachi:
|
mvtachi:
|
mvtachi fp
|
mvtachi fp
|
.text
|
.text
|
.global mvtaclo
|
.global mvtaclo
|
mvtaclo:
|
mvtaclo:
|
mvtaclo fp
|
mvtaclo fp
|
.text
|
.text
|
.global mvtc
|
.global mvtc
|
mvtc:
|
mvtc:
|
mvtc fp,psw
|
mvtc fp,psw
|
.text
|
.text
|
.global neg
|
.global neg
|
neg:
|
neg:
|
neg fp,fp
|
neg fp,fp
|
.text
|
.text
|
.global nop
|
.global nop
|
nop:
|
nop:
|
nop
|
nop
|
.text
|
.text
|
.global not
|
.global not
|
not:
|
not:
|
not fp,fp
|
not fp,fp
|
.text
|
.text
|
.global rac
|
.global rac
|
rac:
|
rac:
|
.text
|
.text
|
.global rach
|
.global rach
|
rach:
|
rach:
|
.text
|
.text
|
.global rte
|
.global rte
|
rte:
|
rte:
|
.text
|
.text
|
.global seth
|
.global seth
|
seth:
|
seth:
|
seth fp,0
|
seth fp,0
|
.text
|
.text
|
.global sll
|
.global sll
|
sll:
|
sll:
|
sll fp,fp
|
sll fp,fp
|
.text
|
.text
|
.global sll3
|
.global sll3
|
sll3:
|
sll3:
|
sll3 fp,fp,0
|
sll3 fp,fp,0
|
.text
|
.text
|
.global slli
|
.global slli
|
slli:
|
slli:
|
slli fp,0
|
slli fp,0
|
.text
|
.text
|
.global sra
|
.global sra
|
sra:
|
sra:
|
sra fp,fp
|
sra fp,fp
|
.text
|
.text
|
.global sra3
|
.global sra3
|
sra3:
|
sra3:
|
sra3 fp,fp,0
|
sra3 fp,fp,0
|
.text
|
.text
|
.global srai
|
.global srai
|
srai:
|
srai:
|
srai fp,0
|
srai fp,0
|
.text
|
.text
|
.global srl
|
.global srl
|
srl:
|
srl:
|
srl fp,fp
|
srl fp,fp
|
.text
|
.text
|
.global srl3
|
.global srl3
|
srl3:
|
srl3:
|
srl3 fp,fp,0
|
srl3 fp,fp,0
|
.text
|
.text
|
.global srli
|
.global srli
|
srli:
|
srli:
|
srli fp,0
|
srli fp,0
|
.text
|
.text
|
.global st
|
.global st
|
st:
|
st:
|
st fp,@fp
|
st fp,@fp
|
.text
|
.text
|
.global st_2
|
.global st_2
|
st_2:
|
st_2:
|
st fp,@(fp)
|
st fp,@(fp)
|
.text
|
.text
|
.global st_d
|
.global st_d
|
st_d:
|
st_d:
|
st fp,@(0,fp)
|
st fp,@(0,fp)
|
.text
|
.text
|
.global st_d2
|
.global st_d2
|
st_d2:
|
st_d2:
|
st fp,@(fp,0)
|
st fp,@(fp,0)
|
.text
|
.text
|
.global stb
|
.global stb
|
stb:
|
stb:
|
stb fp,@fp
|
stb fp,@fp
|
.text
|
.text
|
.global stb_2
|
.global stb_2
|
stb_2:
|
stb_2:
|
stb fp,@(fp)
|
stb fp,@(fp)
|
.text
|
.text
|
.global stb_d
|
.global stb_d
|
stb_d:
|
stb_d:
|
stb fp,@(0,fp)
|
stb fp,@(0,fp)
|
.text
|
.text
|
.global stb_d2
|
.global stb_d2
|
stb_d2:
|
stb_d2:
|
stb fp,@(fp,0)
|
stb fp,@(fp,0)
|
.text
|
.text
|
.global sth
|
.global sth
|
sth:
|
sth:
|
sth fp,@fp
|
sth fp,@fp
|
.text
|
.text
|
.global sth_2
|
.global sth_2
|
sth_2:
|
sth_2:
|
sth fp,@(fp)
|
sth fp,@(fp)
|
.text
|
.text
|
.global sth_d
|
.global sth_d
|
sth_d:
|
sth_d:
|
sth fp,@(0,fp)
|
sth fp,@(0,fp)
|
.text
|
.text
|
.global sth_d2
|
.global sth_d2
|
sth_d2:
|
sth_d2:
|
sth fp,@(fp,0)
|
sth fp,@(fp,0)
|
.text
|
.text
|
.global st_plus
|
.global st_plus
|
st_plus:
|
st_plus:
|
st fp,@+fp
|
st fp,@+fp
|
.text
|
.text
|
.global st_minus
|
.global st_minus
|
st_minus:
|
st_minus:
|
st fp,@-fp
|
st fp,@-fp
|
.text
|
.text
|
.global sub
|
.global sub
|
sub:
|
sub:
|
sub fp,fp
|
sub fp,fp
|
.text
|
.text
|
.global subv
|
.global subv
|
subv:
|
subv:
|
subv fp,fp
|
subv fp,fp
|
.text
|
.text
|
.global subx
|
.global subx
|
subx:
|
subx:
|
subx fp,fp
|
subx fp,fp
|
.text
|
.text
|
.global trap
|
.global trap
|
trap:
|
trap:
|
trap 0
|
trap 0
|
.text
|
.text
|
.global unlock
|
.global unlock
|
unlock:
|
unlock:
|
unlock fp,@fp
|
unlock fp,@fp
|
.text
|
.text
|
.global push
|
.global push
|
push:
|
push:
|
push fp
|
push fp
|
.text
|
.text
|
.global pop
|
.global pop
|
pop:
|
pop:
|
pop fp
|
pop fp
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.