Description
1. Quickly check out whether the gcc compiler on coffre can seamlessly produce 32-bit executables with the -m32 option.
2. Use the mygcc alias provided to you generate clean and compact assembly code.
3. Use .gdbinit from https://github.com/cyrus-and/gdb-dashboard to configure your gdb, so that you can single-step through the program.
4. You should get your ideas regarding the code to be generated by compiling gcc programs andobserving the assembly output. However, if you want to refer to a document, here are some:
(a) A Tiny Guide to Programming in 32-bit x86 Assembly Language:
https://www.cs.dartmouth.edu/ sergey/cs258/tiny-guide-to-x86-assembly.pdf
(b) A larger x86 Assembly Language Reference Manual:
https://docs.oracle.com/cd/E19641-01/802-1948/802-1948.pdf




Reviews
There are no reviews yet.