mirror of
https://github.com/foxsen/archbase.git
synced 2026-04-24 18:42:17 +08:00
initial import to public repository
This commit is contained in:
9
materials/chapter4/simple.S
Normal file
9
materials/chapter4/simple.S
Normal file
@@ -0,0 +1,9 @@
|
||||
simple:
|
||||
addi.d $sp,$sp,-16
|
||||
st.d $fp,$sp,8
|
||||
addi.d $fp,$sp,16
|
||||
ld.d $fp,$sp,8
|
||||
bstrpick.w $a0,$a0,7,0
|
||||
add.w $a0,$a0,$a1
|
||||
addi.d $sp,$sp,16
|
||||
jr $ra
|
||||
Reference in New Issue
Block a user