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

devtools/2024/12/24 9:57:24/

计算机组成及汇编语言原理》学习第 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)


http://www.ppmy.cn/devtools/144948.html

相关文章

Android Jetpack LiveData源码解析

1. LiveData简介 LiveData是Android Jetpack架构组件中的一个核心类,它是一个可观察的数据持有者类。LiveData的设计初衷是为了简化UI组件的生命周期管理,它具有生命周期感知特性,确保只有在应用程序组件(如Activity、Fragment&a…

Farfalle - 开源的AI搜索引擎

2600 Stars 232 Forks 32 Issues 4 贡献者 Apache-2.0 License Python 语言 代码: https://github.com/rashadphz/farfalle 主页: Farfalle 演示: Farfalle 更多AI开源软件:https://www.aiinn.cn/sources FarFalle 是一款开源的AI搜索引擎项目,类似Perpl…

golang, go sum文件保证下载的依赖模块是一致的

在 Go 编程语言中,go.sum 文件是 Go 模块管理的一部分,主要用于记录模块的校验信息(模块版本的校验和)。它的设计目标是确保模块的完整性和安全性,解决以下关键问题: 1. 确保模块版本的一致性 go.sum 文件…

传统网络架构与SDN架构对比

传统网络采用分布式控制,每台设备独立控制且管理耗时耗力,扩展困难,按 OSI 模型分层,成本高、业务部署慢、安全性欠佳且开放性不足。而 SDN 架构将控制平面集中到控制器,数据转发由交换机负责,可统一管理提…

springboot中使用gdal将表中的空间数据转shapefile文件

springboot中使用gdal将表中的空间数据转shapefile文件 代码: // 样本导出-将样本表导出为shapefile,复制样本shp文件到临时目录下 sampleDir是文件夹pathpublic void setYbShapeFile(Yb yb, File sampleDir) {// 创建 前时项 和 后时项 文件夹File y…

《探秘 QT 5.14.1 类库的奇妙世界》

《探秘 QT 5.14.1 类库的奇妙世界》 一、QT 5.14.1 类库简介1.1 跨平台特性1.2 整体框架构成 二、核心特点剖析2.1 元对象系统2.2 信号与槽的关联方式2.3 全局定义2.3.1 数据类型定义2.3.2 函数2.3.3 宏定义 三、常用类库功能展示3.1 QWidget 类库3.2 其他重要类库(…

【YashanDB知识库】jdbc查询st_geometry类型的数据时抛出YAS-00101错误

本文内容来自YashanDB官网,原文内容请见 https://www.yashandb.com/newsinfo/7802956.html?templateId1718516 问题现象 某客户的业务在通过YashanDB jdbc驱动查询含有st_geometry列的数据时,报如下异常:YAS-00101 cannot allocate 0 byte…

Python知识分享第三十四天-Pandas进阶

Pandas pandas读写sql表 import pandas import pandas as pd from sqlalchemy import create_engine import json import os os.chdir(rD:\code\ai_22_work\My_Numpy\day03) # 读取csv文件 df pd.read_csv(./data/csv示例文件.csv,encodinggbk,index_col0)# pandas读写sql表…