Learning Arm-v8 Assembly — Environment Setup
ArmAssemblyDebugging
# Environment Setup
- Install the compilation and debugging components
- Since I only had an x86 environment with WSL on hand, I needed to use emulation to compile, run, and debug ARM programs
- Referencing this [gist article](https://gist.github.com/luk6xff/9f8d2520530a823944355e59343eadc1), it is possible to run armv8 programs on an x86 environment. The steps are as follows:
- Install on WSL:
- Cross-compilation environment: `sudo apt-get install libc6-dev-arm64-cross gcc-aarch64-linux-gnu`
- QEMU emulation environment: `sudo apt-get install qemu qemu-system qemu-user`