Operating System Only 1.4MB in Size Written in Assembly

Operating System Only 1.4MB in Size Written in Assembly

An operating system written in assembly language, designed to provide an efficient, stable, and user-friendly operating system experience. This operating system only occupies 1.4MB of space, with the latest update on May 10, 2024. MenuetOS not only provides an intuitive operating interface but also has multiple features, making it a versatile operating system. It supports … Read more

Introduction to Assembly Language

Introduction to Assembly Language

Learning programming is essentially learning high-level languages, which are designed for humans to communicate with computers. However, computers do not understand high-level languages; they must be converted into binary code through a compiler to run. Knowing high-level languages does not equate to understanding the actual execution steps of a computer. The only language that computers … Read more

Hello World in Assembly Language

Hello World in Assembly Language

Assembly Language for x86 Architecture In assembly language, a simple “Hello, World!” program can be written like this (assuming we are using x86 architecture assembly language): section .data hello db 'Hello, World!',0 section .text global _start _start: ; write syscall mov eax, 4 mov ebx, 1 mov ecx, hello mov edx, 13 int 0x80 ; … Read more

A Comprehensive Guide to Assembly Language

A Comprehensive Guide to Assembly Language

Scan the QR code to follow “Finger Tips Sound” and learn together, grow together. Part1 Definition of Content 1.1 Definition of Data Segment Assembly language programs are written in segments, generally defining data in the data segment and the program in the code segment. The syntax for defining a segment is as follows: segment_name SEGMENT … Read more

Should Beginners Start Learning Assembly Language?

Should Beginners Start Learning Assembly Language?

Organizer | Zheng LiyuanProduced by | Programmer’s Life (ID: coder_life) According to the “2021-2022 China Developer Survey Report”,the historically significant Assembly language is the most disliked programming language among programmers (37%), followed by C++ (17%) and C (16%). As a machine-oriented programming language, Assembly language is indeed very detailed, but it is not very friendly … Read more

Introduction to Assembly Language

Introduction to Assembly Language

Click on the top“Baijia Technology”,to pin the public account Embedded essentials delivered promptly —— Author: Ruan Yifeng Link: http://www.ruanyifeng.com/blog/2018/01/ Learning programming is essentially learning high-level languages, which are designed for humans. However, computers do not understand high-level languages; they must be compiled into binary code to run. Learning high-level languages does not equate to understanding … Read more

Basic Knowledge of Assembly Language

Basic Knowledge of Assembly Language

1. Statement Format of Assembly Language The source program written in assembly language consists of many statements (also known as assembly instructions). Each statement consists of 1 to 4 parts, and its format is: [Label] Instruction Mnemonic [Operands] [; Comment] The parts in square brackets can be present or absent. Each part is separated by … Read more

The Necessity of Using Assembly Language

The Necessity of Using Assembly Language

– 1 – One day, there was a programmer named Bob who wrote a factorial function implemented in Go. However, as the data size grew, the running speed became very slow. So, his boss asked him to rewrite it in assembly language. Bob was reluctant but learned assembly language and wrote a factorial function that … Read more

Introduction to Assembly Language

Introduction to Assembly Language

Friends with a bit of computer knowledge must know that computers only recognize 0s and 1s. Back in the day, to write a program, one had to use 0s and 1s, haha, cool right? The admiration for programmers likely originated from that time. Later, people found it very inconvenient to write programs using just 0s … Read more

Getting Started with Assembly Language

Getting Started with Assembly Language

Introduction This article is a summary document I wrote after studying “Principles of Assembly Language”, Chapter 3 of “CSAPP”, and the “x86 data sheet”, as well as after a lot of Googling. It is intended for self-checking and review. I would be honored if it could be of assistance. If there are any errors or … Read more