stacktest.s

来自「非常好的汇编代码示例」· S 代码 · 共 31 行

S
31
字号
# stacktest.s - An example of working with the FPU stack.section .datavalue1:   .int 40value2:   .float 92.4405value3:   .double 221.440321.section .bss   .lcomm int1, 4   .lcomm control, 2   .lcomm status, 2   .lcomm result, 4.section .text.globl _start_start:   nop   finit   fstcw control   fstsw status   filds value1   fists int1   flds value2   fldl value3   fst %st(4)   fxch %st(1)   fstps result   movl $1, %eax   movl $0, %ebx   int $0x80

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?