trigtest2.s

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

S
26
字号
# trigtest2.s - An example of using the FSINCOS instruction.section .datadegree1:   .float 90.0val180:   .int 180.section .bss   .lcomm sinresult, 4   .lcomm cosresult, 4.section .text.globl _start_start:   nop   finit   flds degree1   fidivs val180   fldpi   fmul %st(1), %st(0)   fsincos   fstps cosresult   fsts sinresult   movl $1, %eax   movl $0, %ebx   int $0x80

⌨️ 快捷键说明

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