- sudo apt-get install qemu-user
- (Download)[#https://releases.linaro.org/components/toolchain/binaries/latest-5/aarch64-linux-gnu/gcc-linaro-5.5.0-2017.10-x86_64_aarch64-linux-gnu.tar.xz] aarch64 toolchain for x86_64 host machine
- compile using toolchain gcc: gcc -static -c code.s
- create runfile from object file using toolchain gcc: gcc -static -o code code.o
- run using qemu-aarch64 code
CORE DUMPS: using toolchain gdb: ulimit -c unlimited gdb