汇编语言 - 第三个元素点 [英] Assembly language - third element points to
问题描述
真的AP preciate如果有人能告诉我在强列表中的第三个元素中读取。
would really appreciate if someone can tell me what the third element in the strong list reads.
这是不是硬件,我只是preparing自己。
This is NOT HW, I am merely preparing myself.
感谢您。
推荐答案
我们的StringList的是一个链表。第1指针前进到当前元素的字符串值,第二指针进到下一个节点。列表中的头是在位置 0x000010000
:
Our StringList is a linked list. The 1st pointer goes to the string value of the current element, the 2nd pointer goes to the next node. The head of the list is at location 0x000010000
:
- 在
0x00001000
:值= ...,旁边= 0x00003000
(head元素) - 在
0x00003000
:值= ...,旁边= 0x00000010
- 在
0x00000010
:值= 0x4024FFA4,旁边= ...
(我们的目标元素)
- at
0x00001000
:value = ..., next = 0x00003000
(the head element) - at
0x00003000
:value = ..., next = 0x00000010
- at
0x00000010
:value = 0x4024FFA4, next = ...
(our target element)
在位置 0x4024FFA4
的字符串读 43 4F 4D 50 55 54 45 52 00
,当间preTED为ASCII可德coded到计算机
。请注意,在每个地址的字节顺序意味着我们要读向左向右字节
The string at position 0x4024FFA4
reads 43 4F 4D 50 55 54 45 52 00
which when interpreted as ASCII can be decoded to "COMPUTER"
. Notice that the byte order at each address means we have to read the bytes right to left.
这篇关于汇编语言 - 第三个元素点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!