jserv / full-stack-hello

minimal instruction set and assembler/compiler for "Hello World" execution
Other
114 stars 49 forks source link

AS support -w (asm and write to file) and -x (load and run) #37

Closed pakls closed 7 years ago

pakls commented 7 years ago

Add the support of ELF file:

  1. as_exec -w xxx.s (produces xxx.o)
  2. as_exec -x xxx.o (load xxx.o and run)

One can use:

gobjdump -x xxx.o (on Mac, install gobjdump using brew) objdump -x xxx.o (on Linux)

pakls commented 7 years ago

Agreed. It is not necessary. The code will be polished.