GithubHelp home page GithubHelp logo

beginning-arm64-assembly-programming's Introduction

Beginning ARM64 Assembly Programming

1. 快速开始

1.1. 容器化运行环境

cd docker
bash dockerize.sh
cd -

1.2. 启动容器

bash play.sh

后续步骤在容器内执行。

1.3. 运行示例程序

cd /workspace/chapter01
make

样例输出如下

root@cf9d0cd4ead9:/workspace/chapter01# make
aarch64-none-linux-gnu-as -a=hello.lst -g --gdwarf-2 -o hello.o hello.s
aarch64-none-linux-gnu-gcc -gdwarf -o hello.out -no-pie hello.o --static
qemu-aarch64 ./hello.out
hello, worldroot@cf9d0cd4ead9:/workspace/chapter01#

2. 温馨提示

  • GDB 调试过程的以下错误暂时可忽略
    _start () at ../sysdeps/aarch64/start.S:46
    46      ../sysdeps/aarch64/start.S: No such file or directory.

2. 参考文献

beginning-arm64-assembly-programming's People

Contributors

sammyne avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.