Skip to content

CAU-LetsCode/ASM-Proj2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASM-Proj2

CSC 3410 Assignment 2

Introduction

You are going to write your first assembler programs by writing some simple code to use the ADD, MOV, SUB, IMUL, and IDIV instructions.

Build Setup

Each program below is to be written and tested on the virtual machine given in class.

For example, to compile program 1, you will enter the following commands:

# The Nasm assembler: compile using the nasm assembler
$ nasm -g -f elf -F dwarf -o p1.o p1.asm

# The ld linker: link using the ld linker
$ ld p1.o -m elf_i386 -o p1

# run the program
$ ./p1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published