Saturday, March 24, 2012

translate assembly to machine code

On Linux Machine:
1. write your assembly code into code.S
2. compile your code: $ gcc -c code.S
3. use objdump to see the binarry code: $ objdump -d code.o 

No comments: