0% found this document useful (0 votes)
20 views

Lab Assignment 6 - CP Command Write Up

Uploaded by

Vedant Thakur
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

Lab Assignment 6 - CP Command Write Up

Uploaded by

Vedant Thakur
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

School of Computer Science & Engineering

Department of Computer Engineering and Technology


S. Y. B. Tech AY 2024-25 Semester III

Project Based Learning – I(CSE2PR04A)


Assignment No:6

Problem Statement
Write X86 Assembly Language Program (ALP) to simulate OS command ‘cp’
using file operations.

Objective

1.Understand the file handling in Assembly language.


2. Understand the command line arguments.

Theory

Explain File Create function used in file operation

Algorithm

Write an algorithm to copy the contents from the source file to destination file.

Input

Source file (abc.txt) & destination file (pqr.txt) name as command line arguments

Output
Source file content copied into destination file.

Environment -
OS - 64bit Ubuntu 12.01/Ubuntu 18
CPU – 64bit Core 2 Duo

Conclusion:

FAQ’s –
1. Explain Mode and Flags used in the File operations in Nasm.
2. Explain Pathname in the File operations in Nasm.

You might also like