嵌入式系统基础概念(二)常用术语和整数类型转换

常用术语

比特(Bit):最小可操作单位

字节(Byte):最小存储单位,

= 8 Bit,如下表,b7称MSB(Most Significant Bit),b0称LSB(Least Significant Bit)

因为b7=1等价于2^{7}=128,而b0=1等价于2^{0}=1

                                                                MSB                                             LSB

b7 b6 b5 b4 b3 b2 b1 b0

半字(HALF WORD):二个字节或者16bit,

b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0

字(WORD):四个字节或者32bit

表征范围(Alternatives):可能性总数。

一个比特,最多两种可能,0 或 1。

一个字节,包含8个比特,每个比特两种可能,所以,最多256种可能。

比特数 (最小)字节数 可能数
8 1 256
10 2 1024\approx10^{3}(1K)
12 2 4096
16
  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
嵌入系统词汇表 A ASIC(专用集成电路) Application-Specific Integrated Circuit. A piece of custom-designed hardware in a chip. 专用集成电路。一个在一个芯片上定制设计的硬件。 address bus (地址总线) A set of electrical lines connected to the processor and all of the peripher als withwhich itcommunicates. The address bus is used by the processor to se lect aspecific memory location or register within a particular peripheral. I f the address bus contains n electrical lines, the processor can uniquely ad dress up to 2^n such locations. 一个连接处理器与所有外设的,用来通讯的电子线路集。地址总线被处理器用来选择在 特定外设中的存储器地址或寄存器。如果地址总线有 n条电子线路,处理器能唯一寻址 高 达 2^n的地址空间。 application software(应用软件) Describes software modules specific to a particular embedded project. Theapp lication software is unlikely to be reusable across embedded platforms, simp lybecause each embedded system has a different application. 用来描述一个特定的嵌入项目中的某一软件模块。应用软件不象可重用的交叉嵌入 平台,只是因为每一个嵌入系统有不同的应用软件。 assembler(汇编编译器) A software development tool that translates human-readable assembly language programs into machine-language instructions that the processor can understan dand execute. 一个能把人可读的汇编语言程序转换到处理器可理解和运行的机器指令的软件开发工 具 。 assembly language(汇编语言)
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值