`
wss71104307
  • 浏览: 224647 次
  • 性别: Icon_minigender_1
  • 来自: 南京
社区版块
存档分类
最新评论

test

阅读更多

  1     .file   "test.c"
  2     .section    .rodata
  3 .LC0:
  4     .string "address of i = %u\n"
  5 .LC1:
  6     .string "input please"
  7 .LC2:
  8     .string "%d"
  9 .LC3:
 10     .string "%d\n"
 11     .text
 12 .globl main
 13     .type   main, @function
 14 main:
 15     leal    4(%esp), %ecx
 16     andl    $-16, %esp
 17     pushl   -4(%ecx)
 18     pushl   %ebp
 19     movl    %esp, %ebp
 20     pushl   %ecx
 21     subl    $36, %esp
 22     leal    -5(%ebp), %eax
 23     leal    -12(%ebp), %edx
 24     subl    %edx, %eax
 25     movl    %eax, 4(%esp)
 26     movl    $.LC0, (%esp)
 27     call    printf
 28     movl    $0, -12(%ebp)
 29     jmp .L2
 30 .L3:
 31     movl    $.LC1, (%esp)
 32     call    puts
 33     leal    -5(%ebp), %eax
 34     movl    %eax, 4(%esp)
 35     movl    $.LC2, (%esp)
 36     call    scanf
 37     movl    -12(%ebp), %eax
 38     movl    %eax, 4(%esp)
 39     movl    $.LC3, (%esp)
 40     call    printf
 41     movl    -12(%ebp), %eax
 42     addl    $1, %eax
 43     movl    %eax, -12(%ebp)
 44 .L2:
 45     movl    -12(%ebp), %eax

分享到:
评论

相关推荐

    BURNINTEST--硬件检测工具

    PassMark BurnInTest V5.3 Copyright (C) 1999-2008 PassMark Software All Rights Reserved http://www.passmark.com Overview ======== Passmark's BurnInTest is a software tool that allows all the major sub...

    parasoft c++Test9.0破解

    最好用的单元测试工具,除了这里你是找不到9.0版本的破解的。 ... 独立的版本破解: ... 把lic_client.jar复制到 ... c:\Program Files (x86)\Parasoft\Test\9.0\plugins\...这个是:plugins-c++Test For Visual Studio.7z

    eNetTest 网管内网单机测速工具

    eNetTest 网管内网单机测速工具eNetTest 网管内网单机测速工具eNetTest 网管内网单机测速工具eNetTest 网管内网单机测速工具eNetTest 网管内网单机测速工具eNetTest 网管内网单机测速工具eNetTest 网管内网单机测速...

    Parasoft c++Test9.0破解文件

    c:\Program Files (x86)\Parasoft\C++test for Visual Studio\9.0\plugins\ 这个目录中 把plugins-Test for Virsual Studio.7z 中的文件覆盖到 c:\Program Files (x86)\Parasoft\Test for Visual Studio\9.0\...

    Modeltest 使用说明

    Modeltest 使用说明 Modeltest 是一个选择核苷酸替代模型的软件,通过和 PAUP 配合使用,可以选择出合适的 MODEL,并同时计算出相关参数。下面是 Modeltest 的使用说明和相关知识点: 一、Modeltest 概述 * Model...

    speedtest服务器搭建教程

    (speedtest服务器搭建教程) 本篇教程旨在指导读者搭建speedtest服务器,通过安装PHPStudy、配置WNMP和Nginx、下载并配置speedtest测速平台,实现本地测速功能。 一、 PHPStudy 安装和配置 PHPStudy 是一个集成...

Global site tag (gtag.js) - Google Analytics