8000 GitHub - uptudev/x64: My 64-bit Assembly repository.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

uptudev/x64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Compilation Instructions

To convert from Assembly to object code, run the following:

as [FILENAME].s -o [FILENAME].o

From there, to compile to a machine code executable, run the following:

gcc -o [FILENAME].bin [FILENAME].o -nostdlib -static

Now you have an executable binary file (which contains a .bin extension to easily filter out compiled binaries in a .gitignore; it can be removed whenever).

Intel Syntax vs. AT&T Syntax

Since I develop on Linux and prefer the source, dest order, I use the AT&T syntax of x86_64, as using Intel's (in my opinion) counterintuitive dest, source ordering just seems like a fatal caveat in an otherwise fine Assembly dialect.

About

My 64-bit Assembly repository.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0