Skip to content

Coma-cycle/Assembly-Intelx86

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

The file names are self‑explanatory and reflect the functionality of each program. The structure and flow of these assembly codes are inspired by the Introduction to x86 Microprocessor course I took at IUST University. While the course focused on the 8086 (16‑bit assembly), the examples in this repository are implemented using x86‑64 assembly.

the src directory contains .asm files(64-bit assembly). the build directory contains executed files using the following commands _for linux:

Assemble using nasm :

nasm -f elf64 src/---.asm -o build/---.o

link the object file:

ld build/---.o -o /build/---   

Run:

build/---

the registers layout in x86-64 are as follow layout

read_key assembly code for the algorithm below is here

#read key
#   ↓
#is key ESC?
#   ↓ yes → exit
#   ↓ no
#print character
#   ↓
#repeat

BCDTOBINARY this scrpit will convert 4 digit bcd into binary

RAM_TEST---|

output

Hello world! Hello, World! on sreen

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors