; 得到地址,并把字节地址(byte address)转换成字地址(word address)的形式 ;*********************************************************************
基于284个网页-相关网页
relative byte address 相关字节地址 ; 位置
byte address machine 按字节寻址计算机
RBA Relative Byte Address 相关字节地址
logical byte address 逻辑字节地址
redo byte address 重做字节地址
single byte address 单字节地址
address mode byte 地址方式字节
address byte [计] 地址字节 ; 低位地址字节
address status byte [计] 地址状态字节
That is the address in memory in the heap of the first byte that the user typed in.
那是用户输入的第一个字节在内存中堆的地址。
Each number is the address of the corresponding byte.
每个编号都是相应字节的地址。
If each address references a byte of storage, a 16-bit physical address would allow a processor to address 64kb of memory.
如果每个地址引用一个存储字节,那么一个16位物理地址将允许处理器寻址64 KB内存。
That is the address in memory in the heap of the first byte that the user typed in.
那是用户输入的字符串第一个字节,内存中堆的地址。
So it does that for us so that you can get away with just knowing the address of the first byte and it will make sure that you know when to stop by including the special value so, in fact, get the string if you type in a three-letter word, we allocate four bytes no matter what because we need an additional byte 0 for this special sentinel value back slash zero at the very end.
它为我们做了这些事情,这样我们就可以,通过第一个字节的地址,它还可以通过包含一个特殊的值,来保证在哪里停止,如果你输入了一个三个字母的单词,就可以获得那个字符串,不管怎样,我们分配四个字节,因为我们在末端需要一个额外的字节,来保存这个特殊的标志值--反斜杠。
I store in s1 the address of the first byte that the user typed in and by the way that first bite happens to live in this new place called the heap and that's the only update to the story thus far.
我在s1中存储的是用户输入的字符串的首地址,这样第一个字节存储在这块,新的堆的地方,这个是唯一的修正。
应用推荐