Posts

Showing posts from March, 2025

BATCH 3 | Lab 05, Part 2 - x86_64 Server

Image
 LAB 5 - Server x86-64 Hello everyone. In this lab, I will continue my work on the x86-64 server, building on Lab 5, which I previously completed on the aarch64 server.  STEP 1: To begin, I extracted the archive from our home directory, which resulted in the following directory structure: Command used:  cd ~ tar xvf /public/spo600-assembler-lab-examples.tgz STEP 2: I navigated to the ~/spo600/examples/hello/c directory to run the C program and then executed the make command. Commands used:  cd ~/spo600/examples/hello/c make Since I was working on this server and no files needed rebuilding, running make produced the output: "make: Nothing to be done for 'all'." Despite this, I still wanted to make sure and deleted files ending in .o. After doing that, I was safe to rebuild and had the following files: Printed out the object code by using the command below: objdump -d hello OBJECT CODE: hello:     file format elf64-x86-64 Disassembly of section .init: 0000000...