Please provide the full RUNNABLE .asm file (using Intel x86 ). Please provide th
ID: 3804068 • Letter: P
Question
Please provide the full RUNNABLE .asm file (using Intel x86).
Please provide the header and comments:
Note: Submit your source code by only uploading .ASM file using iCollege in the respective assignment dropbox: o Lastname 1.ASM (Ex. mussa 1.ASM), Lastname2.ASM (Ex. mussa2.ASM), Lastname3.ASM (Ex. mussa3 ASM), Lastname4.ASM (Ex. mussa4 ASM) Comment header for ASM files Student: Awad Mussa Class: CSC3210 Assignment 4 Description: This program Follow the program standards as presented in your book. Pay more attention to code comments and consistent indentation.Explanation / Answer
section .text
global _start ;declared for linker
_start: ;tells linker entry point
mov ax,valNum ;moving value to register
mov ds,ax
mov ax, ptr ds ; this will give 24 bytes
int 21h
mov eax,1 ;system call number (sys_exit)
int 0x80 ;call kernel
section .data
valNum dw 0102030405060708h
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.