premtest.s

来自「汇编经典教程profession_assembly_language(Richa」· S 代码 · 共 26 行

S
26
字号
# premtest.s - An example of using the FPREM1 instruction.section .datavalue1:   .float 20.65value2:   .float 3.97.section .bss   .lcomm result, 4.section .text.globl _start_start:   nop   finit   flds value2   flds value1loop:   fprem1   fstsw %ax   testb $4, %ah   jnz loop   fsts result   movl $1, %eax   movl $0, %ebx   int $0x80

⌨️ 快捷键说明

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