The World of Computer Science: Playing with programming without assembler. Raspberry, QEMU, gdb. For beginners

725 views

Tricky Tomcat

Published on Jan 9, 2025
About :

Bare metal programming on a budget! Setting up a workplace for Bare-metal. Raspberry Pi 3B AArch64 A practical guide: How to write your first program without tools using only a text editor. It will be interesting for beginners, advanced users, and just people who are interested in computing technology. What is missing in the video. The commands for the program are in the section *C3.5 Data processing - immediate* [Arm Architecture Reference Manual for A-profile architecture] Introduction 0:56 Why this video was released 3:15 Setting up a workplace, tools, what and why. 4:15 Choosing GNU Compiler Collection 6:43 QEMU 7:15 VS Code and plugins 8:12 Setting up paths for tools 0:10:00 Checking the tools for operability 0:11:00 Features of starting QEMU 0:13:00 Starting and configuring gdb. Overview of the main problems when connecting. Main part. 15:36 Main part 2+2. Description of example limitations Before we begin. 16:54 Overview of AArch64 architecture features 18:15 General-purpose registers X0-X30, and others 22:20 Program algorithm and program. Explaining for a three-address command. 24:40 Briefly how to find the necessary commands in the manual section *C3.5 Data processing - immediate* 28:00 Explaining why these commands were chosen 28:30 Explanations for the translation why. 30:00 Command format, alignment. Data format. Registers. 33:50 Alignment, command width. (!) Why branching may not work. 36:45 Little-endian LSB scheme, command width. 39:40 Little-endian coding example. Communication with memory and offsets in a file. 41:30 Encoding a 16-bit value using the LSB scheme Translation 45:55 Translating the HLT command 47:30 Creating a template file that will contain the finished program 50:00 Directly encoding the command 53:00 Result of translating the first command 54:20 Checking the intermediate result 1:02:10 Translating the MOV command 1:04:10 A fresh look at translation methods 1:13:00 End of translation of the first command 1:13:40 Simplifying the translation of the second MOV command 1:14:25 Result after translating two commands 1:14:25 Checking the intermediate result 1:16:25 Translating the ADD command 1:23:50 Final result of the program translation 1:24:20 Checking the final result 1:25:15 What is 2+2? Final word 1:25:30 What was all this for? Resources, tutorials and tool links Repository with this text [Git Hub](https://github.com/Zer0cul/Aarch64-Ar...) Tools used [QEMU download](https://www.qemu.org/download/#windows) [QEMU for window 64](https://qemu.weilnetz.de/w64/) [Aarch64 GNU compiler collection](https://developer.arm.com/downloads/-...) Optional [Visual Studio Code](https://code.visualstudio.com/) Hex Editor plugin for VS Code identifier ms-vscode.hexeditor Manuals and references [Arm Architecture Reference Manual for A-profile architecture](https://developer.arm.com/documentati...) - Reference manual for architecture, in pdf format [Reference manual for instructions AArch64](https://developer.arm.com/documentati...) [Learn the architecture - A64 Instruction Set Architecture Guide](https://developer.arm.com/documentati...) - training commands with examples and tasks to test knowledge

Trend Videos
4:03
1,954,854 views   7 days ago
10:48
7:16
2,793,146 views   5 days ago
5:25
11:16
540,015 views   3 days ago
17:45
8:34
1,138,877 views   8 days ago
11:16
540,015 views   3 days ago
Google AdSense
336 x 280
Up Next
20:58
Королевский Авторемонт
125,491 views
3 years ago
48:21
автослесарь Шаман
41,574 views
1 year ago
6:33
Моторный Центр
14,017 views
4 years ago
12:20
Разбор Двигателей
3,285 views
3 years ago
16:57
The Breakfast Show
116,969 views
12 hours ago
11:19
мир моторов Тюмень
14,856 views
2 years ago
24:23
Разбор Двигателей
591 views
12 days ago
16:18
Иван Готенко
38,231 views
9 years ago
17:47
автослесарь Шаман
4,602 views
1 year ago
8:02
Kia Master
54,246 views
3 years ago
13:02
Разбор Двигателей
8,166 views
2 years ago
19:36
Разбор Двигателей
1,704 views
6 months ago
13:31
СЕРГЕЙ ШМАТОВ
78,323 views
10 years ago
26:52
На Карбюраторе
31,967 views
7 days ago
36:13
Два домкрата
5,635 views
2 years ago
8:17
Разбор Двигателей
5,683 views
3 years ago
30:04
Деревенский SWAP
80,790 views
3 years ago
19:22
TURBO MOD MOTORS
42,280 views
7 years ago
16:57
The Breakfast Show
116,969 views
12 hours ago
7:41
АВТО МАСТЕРСКАЯ
74,879 views
3 years ago
16:53
Наездники
29,357 views
3 years ago
28:48
16:28
Авторемонт от Сани и Вани.
8,190 views
8 months ago
11:59
7:28
НАШ ГАРАЖ Купянск (НАШ ГАРАЖ)
4,417 views
4 years ago
21:26
Авто_Ремонт
477,065 views
7 years ago
21:47
ARTCAR
15,840 views
7 years ago
31:59
Гараж 34 рус
81,224 views
2 years ago
19:37
Гараж у дома
12,074 views
2 years ago
19:14
Андрей Флорида
53,385 views
6 years ago
10:49
ГАРАЖ НН
56,780 views
8 years ago
46:59
Андрей Флорида
139,466 views
8 years ago
Google AdSense
336 x 280

fetery.com. Copyright 2024