fcomtest.s

来自「*****汇编语言程序设计 源代码*****」· S 代码 · 共 28 行

S
28
字号
# fcomtest.s - An example of the FCOM instruction.section .datavalue1:   .float 10.923value2:   .float 4.5532.section .text.globl _start_start:   nop   flds value1   fcoms value2   fstsw   sahf   ja greater   jb lessthan   movl $1, %eax   movl $0, %ebx   int $0x80greater:   movl $1, %eax   movl $2, %ebx   int $0x80lessthan:   movl $1, %eax   movl $1, %ebx   int $0x80

⌨️ 快捷键说明

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