Changes

Jump to: navigation, search

Fall 2014 SPO600 Assembly Language Presentation

766 bytes added, 21:47, 23 September 2014
Topics
|GNU aarch64 Syntax||What are the basic rules of GNU Assembler (gas) syntax for aarch64 platforms? How do you use preprocessor directives (such as #include or #define) or equivalent?|| [[User:Chris Tyler|Chris Tyler]]|| ||
|-
|Argument storage on x86_64||When a function/procedure is called on an x86_64 Linux system, where are the arguments stored? What if there are many arguments?|| Adam Sharpe|| [http://www.x86-64.org/documentation/abi.pdf Pages 13-22 of this thing]||[http://adamsharpe8.blogspot.ca/2014/09/assembly-generated-from-function-calls.html Blog Post]
|-
|Argument storage on aarch64||When a function/procedure is called on an aarch64 Linux system, where are the arguments stored? What if there are many arguments?|| [[User:Chris Tyler|Chris Tyler]] || ||
|Assembling using gas||How do you use the GNU assembler (gas) to compile an assembly-language program ("assemble" it) from the command line, producing an executable file? What are some useful command-line options?|| [[User:Chris Tyler|Chris Tyler]] || ||
|-
|Single-stepping with gdb||How do you execute a program one instruction at a time (single-stepping) using the GNU debugger (gdb)? How do you view register contents between steps?|| Hunter Jansen|| [http://calmlycoding.com:7777 slides], [https://docs.google.com/presentation/d/1pLEKHT13PxNEpJ06Xa_tBwJXVlr8mjBpme7acNL93AI/edit?usp=sharing slides] || [http://rawkamatic.github.io/open%20source/2014/09/22/SPO-Lab3-GDB-Stepping.html blog post] ||
|-
|Dividing integers on x86_64 and aarch64||How do the integer division instructions work on x86_64 and aarch64? How are they different? What are the advantages of each?|| Gabriel Castro|| ||
|-
|Static and dynamic linking||What are the differences between static and dynamic linking? What are the advantages of each from the point of view of performance, resource utilization, and security?|| Linpei Fan|| [http://cs-fundamentals.com/c-programming/static-and-dynamic-linking-in-c.php reference1], [http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dai0242a/ch04.html reference2], [http://stackoverflow.com/questions/1993390/static-linking-vs-dynamic-linking reference3] ||[http://linpei.blogspot.ca/2014/09/static-linking-vs-dynamic-linking.html blog post]
|-
|The Mysterious XOR||x86 and x86_64 code often contains instructions that XOR a register with itself (e.g., <code>xor %eax,%eax</code>). What does this do and why is it used? What is the equivalent in Aarch64?|| Emmanuel Ho Fidelino|| ||
|-
|}
1
edit

Navigation menu