As the number of memory locations grow, our addresses have to grow as well.
随着内存位置数量的增长,我们的地址也必须增长。
单词 | Memory location |
释义 |
Memory location
原声例句
科技 Crash Course As the number of memory locations grow, our addresses have to grow as well. 随着内存位置数量的增长,我们的地址也必须增长。 Crash Course 综合篇 To keep things simple, we’ll assume it only has 16 memory locations, each containing 8 bits. 为了简单起见,我们假设它只有 16 个内存位置,每个包含 8 位。 科技 Crash Course And the assembler still forces programmers to think about which registers and memory locations they will use. 而且汇编程序仍然迫使程序员考虑他们将使用哪些寄存器和内存位置。 科技 Crash Course The memory location this time is 1111, which is 15 in decimal. 这次的内存位置是1111,十进制是15。 科技 Crash Course The second set of four bits defines the memory location, in this case, 1110, which is 14 in decimal. 第二组四位定义内存位置,在本例中为 1110,十进制为 14。 科技 Crash Course The programmer just creates abstractions for needed memory locations, known as variables, and gives them names. 程序员只需为所需的内存位置(称为变量)创建抽象,并为它们命名。 科技 Crash Course To keep things simple, we'll assume it only has 16 memory locations, each containing 8 bits. 为了简单起见,我们假设它只有 16 个内存位置,每个位置包含 8 位。 科技 Crash Course It starts by fetching the first transaction from RAM at memory location 100. 它首先从内存位置 100 的 RAM 中获取第一笔交易。 科技 Crash Course An important property of this memory is that we can access any memory location, at any time, and in a random order. 此内存的一个重要属性是我们可以在任何时间以随机顺序访问任何内存位置。 科技 Crash Course On top of that, several of our instructions used the last 4 bits to specify a memory location. 最重要的是,我们的一些指令使用最后 4 位来指定内存位置。 科技 Crash Course This means that the next node in the linked list is located at memory location 1008. 这意味着链表中的下一个节点位于内存位置 1008。 科技 Crash Course For simplicity, let's say that the compiler chose to store ours at memory location 1,000. 为简单起见,假设编译器选择将我们的存储在内存位置 1,000。 科技 Crash Course To hide this complexity, Operating Systems virtualize memory locations. 为了隐藏这种复杂性,操作系统虚拟化了内存位置。 科技 Crash Course So,for example,let's say a computer has 10,000 memory locations in total. 因此,例如,假设一台计算机总共有 10,000 个内存位置。 科技 Crash Course So, if Program B requests memory location 42, it really ends up reading address 1042. 所以,如果程序 B 请求内存位置 42,它实际上最终会读取地址 1042。 科技 Crash Course When the CPU requests a memory location from RAM, the RAM can transmit not just one single value, but a whole block of data. 当 CPU 从 RAM 请求内存位置时,RAM 不仅可以传输单个值,还可以传输一整块数据。 科技 Crash Course The RAM, instead of sending back just that one value, sends a block of data, from memory location 100 through 200, which are then all copied into the cache. RAM 不是只发回一个值,而是从内存位置 100 到 200 发送一个数据块,然后将其全部复制到缓存中。 科技 Crash Course So when we write " j index of 0" , the computer goes to memory location 1,000, with an offset of 0, and we get the value 5. 因此,当我们写入“j index of 0”时,计算机将转到内存位置 1,000,偏移量为 0,我们得到值 5。 科技 Crash Course Programs can also randomize the memory location of variables, like our hypothetical " is admin" flag, so that hackers don't know what memory location to overwrite, and are more likely to crash the program than gain access. 程序还可以随机化变量的内存位置,就像我们假设的“是管理员”标志,这样黑客就不知道要覆盖哪个内存位置,并且更有可能使程序崩溃而不是获得访问权限。 科技 Crash Course If we wanted to retrieve " j index of 5" , our program goes to memory location 1000, plus an offset of 5, which in this case, holds a value of 4. 如果我们想检索“j index of 5”,我们的程序将转到内存位置 1000,加上偏移量 5,在本例中,它的值为 4。
中文百科
内存地址 Memory address(重定向自Memory location)
在电脑运算中,内存地址是一种用于软件及硬件等不同层级中的数据概念,用来访问电脑主内存中的数据。内存地址一般以固定长度之数字表示,并被视为无号整数操作。此类数字的意义和CPU的功能(如程序计数器及内存地址暂存器等),以及不同编程语言对数组之类型的内存用法相关连。
英语百科
Memory address 记忆体位址(重定向自Memory location)
In computing, memory address is a data concept used at various levels by software and hardware to access the computer's primary storage memory. Memory addresses are fixed-length sequences of digits conventionally displayed and manipulated as unsigned integers. Such numerical semantic bases itself upon features of CPU (such as the instruction pointer and incremental address registers), as well upon use of the memory like an array endorsed by various programming languages. |
随便看 |
|
英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。