egg

Multi-architecture emulator.
Log | Files | Refs | README | LICENSE

hello-world.asm (155B)


      1 ;;
      2 ;; RISC-V Hello World for the EGG emulator.
      3 ;;
      4 
      5 _start:
      6 	addi a7, zero, 3
      7 	addi a0, zero, msg
      8 	addi a1, zero, 14
      9 	ecall
     10 	ebreak
     11 
     12 msg:
     13 #Hello, World!%0a