首页 > 编程语言 >《计算机组成及汇编语言原理》阅读笔记:p48-p81

《计算机组成及汇编语言原理》阅读笔记:p48-p81

时间:2024-12-23 22:52:54浏览次数:3  
标签:set 汇编语言 p81 instruction p48 into

《计算机组成及汇编语言原理》学习第 4 天,p48-p81 总结,总计 34 页。

一、技术总结

1.CISC vs RISC

p49, complex instruction set computing

For example, a complex instruction set computing (CISC) chip may be able to move a large block of data, perhaps a string consisting of several thousand bytes, from one memory location to another without using any of the CPU’s internal storage. By contrast, a reduced instruction set computing (RISC) chip might have to move each byte or word into the CPU (from memory) and then back into memory.

2.Assembler

(1)什么是assembler?

A program to convert a source file written in assembly language to an executable file.

(2)jasmin

Jasmin is an assembler for the Java Virtual Machine.

(3)instruction(指令)

In assembly language, a type of statement that translates directly into a machine instruction.

(4)directive(伪指令)

A statement in assembly language [in jasmin, beginning with a period (.)] that does not translate into a machine instruction but instead gives instructions to the assembler itself. The .limit directive is one example.

我之前在看汇编语言相关的书的书的都是每次都很想弄懂 directive 和 instruction 的区别是什么?这本书给了定义。

二、英语总结(生词:6)

1.disaster

(1)disaster: dis-("ill, bad") + astro("star, planet")

Its original meaning was "ill-starred event", reflecting an ancient belief that disasters were caused by unfavorable positions of the stars.

c/u. an event that result in great harm, damage, death, or serious difficulty(灾难)。

p48, Imagine the disaster that would occur if the number 0x05 meant not only “add two numbers” but also “halt the computer”! How could the computer tell which was meant?

2.wiring

u. the system of wires that carry electricity in a building(线路)。

p48, Such a complex instruction set will also require a lot of circuitry to perform the various operations, since every operation might need a different set of wiring and transistors.

3.be tuned to

意为“be optimized for”。

4.twist

c. a complicated situation。

p49, The Java Virtual Machine is an example of a stack-based RISC processor, but with a few twists reflecting the fact that physically it doesn’t exist.

5.sub-word

(1)sub-: under, below, smaller than

p51, The sub-word storage types byte, short, and char are also somewhat second-class types.

三、其它

chapter 2简评:偏理论介绍,读了让人容易烦躁。

chapter 3 简评:介绍使用 Jasmin 进行汇编语言编程,相对而言,因为足够熟悉,所以让人读起来更顺畅。

四、参考资料

1. 编程

(1) Patrick Juola,《计算机组成及汇编语言原理》:https://book.douban.com/subject/3069889/

2. 英语

(1) Etymology Dictionary:https://www.etymonline.com

(2) Cambridge Dictionary:https://dictionary.cambridge.org

欢迎搜索及关注:编程人(a_codists)

标签:set,汇编语言,p81,instruction,p48,into
From: https://www.cnblogs.com/codists/p/18625222

相关文章

  • 汇编语言中的寄存器(8086)
    一:通用寄存器1.数据寄存器AX,BX,CX,DX,这四个寄存器在操作中可以存放各种类型的数据,但是他们存放的数据都有一定的规范,当我们使用loop指令时,他的循环次数受到CX里面数据的影响,CX里面存了什么数,就循环多少次,每循环一次又会将CX里面的值减一,当我们使用MUL和DIV指令时,他们都是单......
  • 《计算机组成及汇编语言原理》阅读笔记:p28-p47
    《计算机组成及汇编语言原理》学习第3天,p28-p47总结,总计20页。一、技术总结1.VirtualMachine2.stack3.Thefetch-executeCycle在控制单元(ControlUnit,CU)里面有一个指令寄存器(InstructionRegister,IR)和一个程序计数器(ProgramCounter,PC)。PC保存下次要访问......
  • 学习汇编语言的第三天
     内容概述通过学习完栈的简单原理,以及相应的ss,sp寄存器的使用。现在已经学习了三种“段”,分别是数据段,代码段,栈段。对于我这种小白极其容易混淆,于是打算进行区分比较。(手把手投喂)1.数据段①对应需要的寄存器:DS②作用:通过将段地址存放到DS,输入访问内存单元的指令,CPU就将我......
  • 《计算机组成及汇编语言原理》阅读笔记:p9-p27
    《计算机组成及汇编语言原理》学习第2天,p9-p27总结,总计19页。一、技术总结1.quantumphysics(量子物理学)(1)quantum(量子)quantum的本意是:c.thesmallestamountofsth(量子)。Inphysics,aquantumistheminimumamountofanyphysicalentity(physicalprope......
  • 《计算机组成及汇编语言原理》阅读笔记:p1-p8
    《计算机组成及汇编语言原理》学习第1天,p1-p8总结,总计8页。一、技术总结1.Intel8088microprocessor(微处理器),1979-1988。2.MS-DOSMicrosoftDiskOperatingSystem的缩写,是一个操作系统(operatingsystem)。3.Moore'sLaw&Moore'ssecondlaw(1)Moore'slawThe......
  • Luogu P8112 [Cnoi2021] 符文破译 题解 [ 蓝 ] [ KMP ] [ 线性 dp ] [ 决策单调性 dp
    符文破译:KMP+dp的好题。暴力dp不难打出一个暴力dp:设计\(dp_i\)表示当前前\(i\)位全部完成了匹配,所需的最小分割数。转移也是简单的,我们在KMP的过程中进行dp转移,每次选取next不断跳向再前面的next,然后进行转移即可。很显然一个字符集大小为\(1\)的串就能轻松......
  • 汇编语言
    图书:http://c.biancheng.net/view/3378.html视频:https://www.bilibili.com/video/BV1mt411R7Xv?from=search&seid=7216001317872532936思维导图:https://pan.baidu.com/s/1HAGT3w0dszhZhJf_a_ccHg提取码:9pmuXMind打开方式?习题答案:https://blog.csdn.net/heiyeleng/arti......
  • 学习汇编语言的第二天
    一.寄存器上节已经简要说明了寄存器这一概念,本次就好好聊聊。由于寄存器在CPU内部,依据CPU不同的指令完成不同的操作,有AX,BX,CX,DX,SI,DI,SP,BP,IP,CS,DS,ES,PSW,SSl类型。本次就重点介绍CS,IP。对于CS,IP的使用,就要谈到上节所说的地址,CS,IP与地址的指向密切相关,就像c语言所学......
  • 【汇编语言】内中断(一) —— 除法错误?看内中断如何轻松化解危机
    文章目录前言1.中断1.1中断信息1.2中断的分类1.3中断的优先权2.内中断的产生2.1导致内中断的原因2.2如何识别不同中断信息来源3.中断处理程序4.中断向量表4.1什么是中断向量表?4.2中断向量表的位置4.3表项所占空间5.中断过程5.1什么是中断过程?5.2具体......
  • 【汇编语言】标志寄存器(三) —— 条件跳转,精准决策:汇编语言的比较与转移
    文章目录前言1.检测比较结果的条件转移指令1.1什么是条件转移指令?1.2两类条件转移指令2.根据无符号比较的条件转移指令2.1如何记忆?2.2如何实现比较转移的功能?2.3举例说明2.3.1例12.3.2例23.总结4.例题巩固4.1问题一4.1.1问题与思路4.1.2问题的分析与解......