Infix expression to suffix expression and evaluation
Because in the school is really too idle, so wrote an expression evaluation of the C language program, hope big guys can correct.
Basic idea:
Just like putting an elephant in a refrigerator, we need to evaluate the expression in three steps.
Enter an infix expression (the expression we usually see)Convert infix expression to suffix express ...
Added by neo926 on Sat, 05 Feb 2022 13:47:10 +0200
Introduction to assembly language 4: get through C and assembly language
review
Last time we talked about the register and memory access related contents involved in the assembly. Let's sort it out first:
Registers are super small temporary memories that store the data that the CPU will use immediately or the results just processed in the CPU
There's too much data to process, so the registers can't fit. You n ...
Added by Angus on Fri, 28 Jan 2022 09:51:46 +0200
Assembly language - course design 2 - restart the computer and boot the existing operating system
The installation program and the code shown on the page were completed last time. This time, the function development began. The first two functions of this development are restarting the computer and booting the existing operating system.
This time, the function development is based on the last code. However, the code has been adjusted and a ...
Added by ValdouaD on Tue, 11 Jan 2022 10:50:02 +0200
Experiment 3 transfer instruction jump principle and its simple application programming
Experimental task 1
Using any text editor, enter the 8086 assembler source code task1.asm.
task1.asm
assume cs:code, ds:data
data segment
x db 1, 9, 3
len1 equ $ - x
y dw 1, 9, 3
len2 equ $ - y
data ends
code segment
start:
mov ax, data
mov ds, ax
mov si, offset x
mov cx, len1
mov ah, 2
s1:mov dl, [si]
...
Added by GrexP on Fri, 03 Dec 2021 05:51:21 +0200
[Python] Pygame module design game
Pygame is a cross platform Python module designed for video games, including images and sounds. Based on SDL, real-time video game development is allowed without being bound by low-level languages (such as machine language and assembly language).
The history of Pygame
Pygame is a written game library using SDL library. SDL, fu ...
Added by cetaces on Fri, 27 Dec 2019 17:12:14 +0200
Factory model of design pattern
Factory model of design pattern
Label (Space Separation): Design Mode Factory Mode
The Impression of Design Patterns
Application of Design Patterns
Generation of Factory Design Patterns
Classification of Factory Design Patterns
The Concept of Design Patterns
> Everything has evolved and everything has developed according to this law. For ...
Added by gibbo101 on Wed, 10 Jul 2019 23:45:00 +0300
Go Source: Coprocess Stack
Original: Go Source: Coprocess Stack
Tips
Go version 1.12
Inspired by Contiguous stacks
When it comes to implementation details, you need to Stack Frame And pointer operation basis.
Preface
Stack management use of go prior to version 1.4 Segmented stack Mechanism implementation.Implementation: When a function is detected to require more stac ...
Added by myfafa on Mon, 24 Jun 2019 19:35:24 +0300