Compilation (a) - Wang Shuang course notes (Guidance section)

Compilation (a) - Wang Shuang course notes (Guidance section)

First, install dos box

After installation, the compressed package placement D: \ at the ASM, to mount

mount c: d:\ASM
c:
debug

Modify C: \ Users \ 74302 \ AppData \ Local \ DOSBox \ dosbox-0.74-3.conf file, followed by the command, you can.

Second, the installation gVim

Download, install it

Modify _vimrc

set number
color evening

Third, the source code is compiled and linked

masm t1;
link t1;

Compiled T1.OBJ and T1.EXE

Fourth, the coding - the human way of observing the world

How the Greeks represents the position of the continent?

Longitude and latitude of the coding system used to represent the position of the earth.

Coding - is the human representation of the world

Coding is a time

Position of stars in the sky, the constellation coding system can encode

Chinese language characters

Coding system indicates that the system

Text communication verbal communication

Character is how the world representing?

Pictographic Chinese characters is a problem is that an image is a graphic representing the world

Five, were thought to memorize words with coding

Pinyin is a kind of sonic

26 English letters also represent a kind of sonic

English alphabet letters =

After several English letter combinations (syllable) = Pinyin

= Syllables of words

disaster to Saisite di sa si te

wo men jin tian qu jiao liu

Acoustic phonetic level corresponding write

And Composition between spelling and phonetic alphabet

Spell words

According to the first word pronunciation, word split

with di ster

Six points back word

Seven Special English

www.21voa.com

The first step into Special English, read, and write,

The second step to listen,

The third step is to read,

The fourth step began to write, an article every day

Eight, the use of coding to solve a math problem

How to determine a triangle

We need a bottom, a high

How to determine the coordinate system

The slope and the point may be used

Factors IX and the world of computing and computing

You gave an apple, and then gave me an apple, can I get a few apples

1 + 2 = 3

We analyze computing elements, analysis and calculation of the relationship between the elements, the final calculation

Examples of latitude and longitude

Humanities, economics, operations research (detailed in the video)

Psychological test questions, is used to collect computing elements, and then to carry out observational approaches

X. computing elements of a system

For us logic expressed or described by the system

Improved

1 + 2 = 3

Abacus counting beads, beads mobile operator

One plus two three

+ i ii iii =

We chose the above representation

A good indication system may better represent computing elements, in order to better represent logical thinking

XI, with the observations of the world

Our way of thinking about the world, comes from the book

So, observing and thinking is not necessarily true

XII What is a computer programming language system

Unified coding system indicates that the system

A computer programming language is a system, used to represent

Low-level language assembly language

C language level language

High-level language C ++ language

Java language-level language

High-level language Python language

Why learn assembler?

Compiled by means of observation, thinking, high-level language is not available

XIII, computer-driven

Computer driven by what? Electricity

Light a little? ? Together by a number of machine-executable instructions tissue components

Machine instructions 0101010101

The central processing unit CPU member

The sequence of binary digits converted into high and low frequency

DOSBOX -debug -u
相同的一串十六进数字:某种编号     十六进制数字    一些英语单词简写  *  一些数字

MOV AX,0005

0005 moved to the AX register

translation software

translater

Assembly language

1. assembly instructions by the compiler is translation software translated into machine instructions

2. The directive tells the compiler that is how translation software translation here, how there translation

3. symbolism + - * /

1.什么是机器指令?
0100110010
2.机器指令由谁执行?
CPU
3.机器指令和汇编指令有什么关系?
通过编译器  汇编指令可以翻译成机器指令
4.什么是编译器?
翻译软件
5.什么是伪指令?
告诉编译器,怎么翻译这里,那里

Guess you like

Origin www.cnblogs.com/littlepage/p/11925640.html