Chapter 1 - A Tour of Computer System

  • Files such as hello.c that consist exclusively ASCII characters are known as text files, while all other files are known as binary files.

  • In order to run the hello.c on the system, the individual C statements must be translated by other programs into a sequence of low-level machine-language instructions. These instructions are then packaged in a form called an executable object program and stored as a binary disk file.

  • Assembly language is useful because it provides a common output language for different compilers for different high-level languages.

  • The hello.o files is a binary files whose bytes encode machine language instructions rather than characters.

  • Buses are typically designed to transfer fiche-sized chunks of bytes known as words. The number of bytes in a word(the word size) is a fundamental system parameter that varies across systems. Most machines today have word sizes of either 4 bytes (32 bits) or 8 bytes (64 bits).

  • I/O devices include disk drive. Each I/O device is connected to the I/O bus by either a controller or an adapter

  • Memory is organised as a linear array of bytes, each with its own unique address (array index) starting at zero.

  • At CPU core is a word-sized storage device (or register) called the program counter. At any point in time, the program counter points at (contains the address of) some machine-language instruction in main memory.
  • Register file doesn't refer to register, but consists of a collection of word-sized registers, each with its own unique name.
  • Only a few simple operations revolve around main memory, the register file, and the arithmetic/logic unit (ALU).





1.4 Updated
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值