Assembly view pointer

preface Pointers are often used in development to access variables and modify variable values. How does the compiler translate pointers or what are pointers at the assembly level mov and lea instructions Pointer analysis is inseparable from these two instructions. Take a simple look at the mov instruction mov instruction When the GNU assem ...

Posted on Fri, 19 Nov 2021 08:35:41 -0500 by bguzel

Raspberry pie 47 / 100 - study out instructions in PIO

About PIO(Programmed I/O) programming in Pico of raspberry pie, three articles have been written earlier: When you first know the PIO in Pico, a more advanced way is to make the small light flash Deeply study the instruction cycle in PIO Understand the assembly code in PWM There are only 9 assembly statements in PIO, but it can combine ma ...

Posted on Wed, 10 Nov 2021 07:56:10 -0500 by aesthetics1

Do you know how the first Goroutine of Go was created?

Or the example of the previous article: package main​import "fmt"​func main() { fmt.Println("Hello World!")} Let's talk about the last article. After schedinit completes the initialization of the scheduling system, it returns to rt0_go starts calling newproc(), creating a new goroutine to execute the runtime.main() corresponding to mainPC ...

Posted on Thu, 14 Oct 2021 02:32:48 -0400 by webdata

Gos - BIOS and successor MBR

Written in front: homemade operating system Gos Chapter 2 Chapter 2: the main content is the transfer of power in CPU and how to control BIOS and MBR BIOS Students with operating system foundation know that when the operating system is powered on, the BIOS will be loaded first, and then the BIOS will load the operating system. This p ...

Posted on Mon, 27 Sep 2021 09:48:50 -0400 by solarith

Simulation of alarm mode control for Proteus sensor + gas concentration detection

catalog Simulation of alarm mode control for Proteus sensor + gas concentration detection 1 understanding of experimental significance 2 main experimental devices 3 experimental reference circuit 4. Problems in the experiment 4.1 fans for turning 4.2 control part 5 experiment refer ...

Posted on Thu, 25 Jun 2020 21:57:40 -0400 by DJ_CARO

python programming from introduction to practice one

1. Computer core foundation 1.1 what is language? What is programming language? Why programming languages? Language is actually the medium of communication between people, such as English, Chinese, Russian, etc. Programming language is the medium of communication between people and computers, The purp ...

Posted on Wed, 17 Jun 2020 02:56:51 -0400 by xlordt

Element modification of java: list collection

The principle is to delete the old elements before adding new ones, not to modify the old elements directly package demo; /* * Courses */ public class course { public String id; public String name; public course (String id,String name) { this.id=id; this.name=name; } } package demo; import java.util.HashSet; import java.util.Set; ...

Posted on Tue, 05 May 2020 06:27:43 -0400 by kripz

Smali Introduction Manual

Smali grammar learning summary 1, About Smali 2, Smali syntax 1. Data type (1) Basic types (2) Reference type 2. Basic grammar 2.1 expression 2.2 conditional statement 2.3 loop statement 2.4 try catch statement 3. Class file structure 3.1 header information 3.2 construction method 3.3 other met ...

Posted on Fri, 06 Mar 2020 04:42:21 -0500 by ShadowX

Build computer from 0 to 1 (5 / 10) -- implement hack: computer architecture, memory, CPU and instruction set

After the first two chapters, we have realized all the combinational logic chips and timing chips, and have the foundation to realize the hack computer. This is the last chapter of the hardware part of the project. In this chapter, we will define the operations that hack can perform, i.e. the instructio ...

Posted on Mon, 24 Feb 2020 02:54:01 -0500 by neave

[Python] Python game--Airplane battle

1. Preface Today is the fourth day of the lunar new year. The Spring Festival when we are comfortable lying down at home is over. We are also starting to study and work hard.To add another word, the virus epidemic this Spring Festival has really made people panic. I am here to fuel the country and Wuh ...

Posted on Tue, 28 Jan 2020 22:00:15 -0500 by jthomp7