Assembly language:1-1 Machine Language

Posted enomothem

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Assembly language:1-1 Machine Language相关的知识,希望对你有一定的参考价值。

Refer&Links

https://www.computerhope.com/jargon/m/machlang.htm
《Assembly language》-Wang shuang

Terms

Term: Machine language
Intro: Sometimes referred to as?machine code?or?object code,?machine language?is a collection of?binary?digits or bits that the computer reads and interprets. Machine language is the only language a computer is capable of understanding.
How it works: the computer converts machine instructions (a list of binary digits) to a high and low level, which drives the computer‘s electronics to perform calculations.
Supplement: each type of processor is designed and constructed differently, so it generates different electronic pulses, and hence different machine languages.

Term:CPU 「Central Processing Unit」
Intro:Interpreting machine instructions

Term:Computer // PC
Intro:A computer system consisting of a CPU and other chips, devices, and devices directly or indirectly controlled by the CPU.

Instance

    s = 768 + 12288 - 1280
    The machine code following:
    10110000000000000000011
    00000101000000000001100
    00101101000000000000101

Instance

It's on the screen:“welcom to masm”
The machine code following:
    0001110
    101110000000000000000000
    01010000
    101110001100011000001111
    1000111011011000
    1011010000000110
。。I don’t want to write it
。。。。

Shortcoming

if you mistake a 1 for a 0, it‘s hard to find.

以上是关于Assembly language:1-1 Machine Language的主要内容,如果未能解决你的问题,请参考以下文章

CSCI 2121: Computer Organization Assembly Language

Assembly language 再读---续

C/C++/Assembly 以编程方式检测超线程在 Windows、Mac 和 Linux 上是不是处于活动状态 [重复]

delphi inline assembly {asm}

delphi inline assembly {asm}

[Dynamic Language] Python定时任务框架