Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 559 Bytes

File metadata and controls

35 lines (25 loc) · 559 Bytes

GoAsmLab

Getting Started

Prerequisites

  • Go (Golang) installed
  • NASM (Netwide Assembler) installed

Setting Up the Project

  1. Clone the repository:

    git clone https://github.com/HaoLiHaiO/GoAsmLab
    cd GoAsmLab
  2. Assemble the assembly code:

    nasm -f bin -o asm/routine.bin asm/routine.asm
  3. Build the Go project:

    go build -o main main.go asm/routine.o
  4. Run the compiled program:

    ./main

License

This project is licensed under the MIT License.