trigtest1.s
来自「*****汇编语言程序设计 源代码*****」· S 代码 · 共 31 行
S
31 行
# trigtest1.s - An example of using the FSIN and FCOS instructions.section .datadegree1: .float 90.0val180: .int 180.section .bss .lcomm radian1, 4 .lcomm result1, 4 .lcomm result2, 4.section .text.globl _start_start: nop finit flds degree1 fidivs val180 fldpi fmul %st(1), %st(0) fsts radian1 fsin fsts result1 flds radian1 flds radian1 fcos fsts result2 movl $1, %eax movl $0, %ebx int $0x80
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?