Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 735 Bytes

File metadata and controls

37 lines (26 loc) · 735 Bytes

Just Another Armchair Programmer

Stack Implementation in x86_64 Assembly Language with C interface

by Jerry McIntosh


INTRODUCTION

This is an Assembly Language implementation of a Stack (LIFO). The Stack is implemented as a shared-library with a C interface. There is also a C demo program.

LIST OF REQUIREMENTS:

  • Linux OS
  • Programming languages: C and Assembly
  • Netwide Assembler (NASM), the GCC compiler, and the make utility
  • your favorite text editor
  • and working at the command line

CREATE THE STACK DEMO

Run the following command in the Stack-main folder:

sh ./stack_make.sh

RUN STACK DEMO

In the demo folder enter the following command:

./go_demo.sh

Have Fun!