Handcrafted CPU Expert: Assembler Language for Unix-like System

Hardware Design: GR8CPU is a fully functional computer built on a breadboard. The first version, GR8CPU Rev2, has over 600 wires, 74 integrated circuits, and 79 LEDs. It is an 8-bit architecture, designed with simplicity and processing power in mind. The CPU can access 256 bytes of RAM and a fully functional Tic-Tac-Toe game has … Read more

Embedded Assembly Language Learning Experience

Electronics Competition Group: 5-year Electronic Design Competition D Topic 481123148; 15-year Electronic Design Competition E Topic 481123833; 15-year Electronic Design Competition F Topic 73646017; 15-year Electronic Design Competition G Topic 45169719; 15-year Electronic Design Competition H Topic 16986998; 15-year Electronic Design Competition I Topic 80699535; 15-year Electronic Design Competition J Topic 475528830; The first problem … Read more

Quick Memory Techniques for MCS-51 Instructions

Everyone knows that assembly language instructions consist of an opcode and operands. The MCS-51 uses assembly language instructions, which have a total of 44 opcode mnemonics and 33 functions, with operands such as #data, direct, Rn, and @Ri. Here, we will first introduce mnemonic symbols for instructions and methods for memorizing them. 1. Mnemonic Symbol … Read more

Experience of Building a Programmable Computer

Hello everyone, I am Tao Ge. Having been in contact with computers for many years, I often feel a sense of confusion. Today, let’s work together to build a computer to deepen our understanding and experience. It must be stated that computers can be complex or simple, but their structures and principles are fundamentally similar. … Read more

Understanding the Von Neumann Architecture

For those of us born in the 80s, our first encounter with computers likely occurred around 1995, when the buzzword was multimedia. I still remember watching a classmate successfully open a game by entering a few DOS commands, and I was utterly impressed. To me, what appeared on the screen was like a foreign language. … Read more

Analysis of ARM Assembly and C/C++ Interoperability

Interoperability Between C Language and ARM Assembly Language 1. Accessing C Language Global Variables from Assembly Global variables can only be accessed indirectly through their addresses. To access global variables in C, you must first introduce the global variable using the extern directive, and then load its address into a register. For unsigned char type, … Read more

How Programming Languages Are Implemented

Do you know how the programming languages you often use are implemented? Today, let’s talk about this question. Smart humans discovered that by combining simple switches, they could express complex boolean logic. Based on this, they built the CPU, which can only understand switches in a simple way, represented numerically as 0 and 1. The … Read more

Reforming Assembly Language Teaching Based on Kunpeng Processor

0 Introduction Assembly language is a low-level programming language related to computer hardware. Since the Intel 80×86 processor and its compatible machines are the mainstream processors for personal computers, the current assembly language teaching in domestic universities mainly focuses on Intel processors and their development tools. Due to national information security considerations, establishing an independent … Read more

Understanding Compiler Principles for Everyone

Mathematics Algorithm Club Date : December 25, 2021 Total Words : 4255 words Source : Job Online Understanding the internal principles of compilers can help you utilize them more efficiently. Gradually delve into how programming languages and compilers work according to the order of compilation. This article contains numerous links, sample code, and charts to … Read more

Minimalist Poem Guide

Minimalist Poem Guide Poem is a web framework written in Rust. It provides a concise API and is feature-rich, exceeding what you typically find in microframeworks. It can decouple itself from many of the main features of web frameworks, offering developers as much flexibility as possible. In short, Poem focuses on simplicity, allowing you to … Read more