roundtest.s

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

S
35
字号
# roundtest.s - An example of the FRNDINT instruction.section .datavalue1:   .float 3.65rdown:   .byte 0x7f, 0x07rup:   .byte 0x7f, 0x0b.section .bss   .lcomm result1, 4   .lcomm result2, 4   .lcomm result3, 4.section .text.globl _start_start:   nop   finit   flds value1   frndint   fists result1   fldcw rdown   flds value1   frndint   fists result2   fldcw rup   flds value1   frndint   fists result3   movl $1, %eax   movl $0, %ebx   int $0x80

⌨️ 快捷键说明

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