Videos are uploaded on:
https://drive.google.com/drive/folders/1x6ZXkRyPD3YazumilLAJqLHjfP6HGpEI
Read a line from the asm file.
Process the section of the asm file.
For the .data section, do:
-
Generate a map/dictionary of each label and a corresponding variable.
-
Allocate memory for the variable according to memory layout.
For the .text section, do:
-
Interpret each command, find its format and encode it. Store the encoding as binary 64 bit number.
-
Append number to list of instructions.
-
For everytime the address of a label is called, fetch and store from map.
STYLE GUIDE: https://www.python.org/dev/peps/pep-0008/
https://www.kernel.org/doc/html/latest/powerpc/syscall64-abi.html
http://students.cs.tamu.edu/tanzir/csce350/reference/syscalls.html
register 3 is parameter/address
register 0 is the input/type of syscall
register 31 is treated as zero register.
-
Feyaz Baker - 181co119
-
Shrvan Warke - 181co151
-
Nihar KG Rai - 181co235
-
Vignesh Srinivasan - 181co258