boot2

Playing with the boostrap
git clone https://git.ryansepassi.com/git/boot2.git
Log | Files | Refs | README

start.S (132B)


      1 .globl _start
      2 _start:
      3     movq (%rsp), %rdi
      4     leaq 8(%rsp), %rsi
      5     call main
      6     movq %rax, %rdi
      7     movq $60, %rax
      8     syscall