loadstore.s
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· S 代码 · 共 63 行
S
63 行
/* @(#)loadstore.s 4.1 (ULTRIX) 7/3/90 */#include <mips/regdef.h>#include <mips/asm.h>LEAF(unaligned_load_word)XLEAF(unaligned_load_word_) ulw v0, 0(a0) j raEND(unaligned_load_word)LEAF(unaligned_load_half)XLEAF(unaligned_load_half_) ulh v0, 0(a0) j raEND(unaligned_load_half)LEAF(unaligned_load_uhalf)XLEAF(unaligned_load_uhalf_) ulhu v0, 0(a0) j raEND(unaligned_load_uhalf)LEAF(unaligned_load_float)XLEAF(unaligned_load_float_) ulw v0, 0(a0) mtc1 v0, $f0 j raEND(unaligned_load_float)LEAF(unaligned_load_double)XLEAF(unaligned_load_double_) ulw v0, 0(a0) ulw v1, 4(a0) mtc1 v0, $f0 mtc1 v1, $f1 j raEND(unaligned_load_double)LEAF(unaligned_store_word)XLEAF(unaligned_store_word_) usw a1, 0(a0) j raEND(unaligned_store_word)LEAF(unaligned_store_half)XLEAF(unaligned_store_half_) ush a1, 0(a0) j raEND(unaligned_store_half)LEAF(unaligned_store_float)XLEAF(unaligned_store_float_) usw a1, 0(a0) j raEND(unaligned_store_float)LEAF(unaligned_store_double)XLEAF(unaligned_store_double_) usw a2, 0(a0) usw a3, 4(a0) j raEND(unaligned_store_double)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?