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

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

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

Python Beginner’s Guide: Learn Variables and Data Types in 10 Minutes

Python Beginner's Guide: Learn Variables and Data Types in 10 Minutes

Hey, curious friends who are interested in programming! Today, we are going to embark on a super fun journey of exploring Python – “Python Beginner’s Guide: Learn Variables and Data Types in 10 Minutes, Easily Mastering the First Step of Programming!” Imagine programming as building a super cool castle, and variables and data types are … Read more

Mastering Python File Handling: 3 Practical Tips

Mastering Python File Handling: 3 Practical Tips

Hello everyone! I’ve noticed many of you struggle with processing a large number of files, so today I’m sharing some practical Python tips to make file handling easy and efficient. Batch Rename Files for Better Management In daily work, we often encounter situations where we need to batch rename files. For example, changing a photo … Read more