Skip to content

udaykiriti/x86_64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

121 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

x86_64

================================================

This repo shows systems programming on x86_64 Linux.
It combines C for logic and I/O with assembly for low-level operations
and performance-critical code.

The codebase includes data structures with both C and assembly
impl: All modules follow x86_64 calling conventions and ABI (Application Binary Interface)
standards, the interface that runtimes and operating systems to use express low-level 
binary details. Those details can include calling conventions, symbol mangling.
showing how modern systems software integrates compiled and assembled code.
since it is just only beginning it doesn't contain huge codebase.
It is only a **initail** structure...

Building "make" Running "./bin/program" [use this commands].

Cleaning "make clean" [to clean build artifacts].

"The build system automatically *compiles* all C sources and *assembles* all
architecture-specific code, *linking* them into a *single* executable."

Program modes include assembly hello/math, several `mmap(2)` demos,
SIMD vector addition, runtime system info, and a shared anonymous
mapping example that shows data written in a child process being
observed by the parent after `fork(2)`.

/* 
   About this repo situation || further details
   GOTO: curr;
*/

Architecture
------------

The project is organized into *distinct* modules. Linked list functionality is provided in
both C and hand-optimized assembly.
[DONE]: [single instructions processes multiple data elements] SIMD [like an array but not like that] 
operations show vector processing capabilities.
All assembly code uses position-independent addressing and proper stack frames.

This serves as a reference implementation for systems-level programming on
x86_64, showing register usage, calling conventions, and data structure
implementation in both C and assembly [Like all project maintained].

================================================

About

64-bit version of x86 CPU arch.

Topics

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Contributors