- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
在 AArch64 程序集中,以下行
stp x25, x30, [sp,#48]
在 sp+48 处存储 x25,在 sp+56 处存储 x30,对吗?
最佳答案
是的。来自 this manual ,第 C6-1237 页及以下:
Signed offset
[...]
64-bit variant
Applies whenopc == 10
.
STP <Xt1>, <Xt2>, [<Xn|SP>{, #<imm>}]Decode for all variants of this encoding
boolean wback = FALSE;boolean postindex = FALSE;[...]
Shared decode for all encodings
[...]integer n = UInt(Rn);integer t = UInt(Rt);integer t2 = UInt(Rt2);[...]integer scale = 2 + UInt(opc<1>);integer datasize = 8 << scale;bits(64) offset = LSL(SignExtend(imm7, 64), scale);[...]
Operation for all encodings
constant integer dbytes = datasize DIV 8;[...]if n == 31 then CheckSPAlignment(); address = SP[];else address = X[n];if !postindex then address = address + offset;[...]data1 = X[t];[...]data2 = X[t2];Mem[address, dbytes, AccType_NORMAL] = data1;Mem[address+dbytes, dbytes, AccType_NORMAL] = data2;
让我们从头到尾了解一下。您的 stp x25, x30, [sp,#48]
是一个 64 位有符号偏移量 stp
,它解码为:
n = 31
t = 25
t2 = 30
scale = 3 // since opc = 0b10
datasize = 64
offset = 48
将其插入到操作伪代码中,用变量替换它们的值,您就可以有效地得到:
CheckSPAlignment();
Mem[SP[] + 48, 8, AccType_NORMAL] = X[25];
Mem[SP[] + 56, 8, AccType_NORMAL] = X[30];
关于assembly - STP 中的寄存器存储顺序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57153954/
如果我有这样的代码: int pop() { return stack[--stp]; } 我知道它在做两件事。它返回元素“stp”中一维数组“stack”中包含的值。它还在递减“stp”。
在 AArch64 程序集中,以下行 stp x25, x30, [sp,#48] 在 sp+48 处存储 x25,在 sp+56 处存储 x30,对吗? 最佳答案 是的。来自 this manual
在 AArch64 程序集中,以下行 stp x25, x30, [sp,#48] 在 sp+48 处存储 x25,在 sp+56 处存储 x30,对吗? 最佳答案 是的。来自 this manual
我正在寻找 .stp/.step 文件的某种规范、文档、解释等。 更多的是关于每行包含哪些信息而不是一般信息。 我似乎无法自己弄清楚每个值的含义。 有谁知道一些关于 STEP 文件的好读物? 我已经搜
我对 Floyd-Warshall 算法有疑问。如果输入有超过 4 个顶点,它就不起作用。为了制作二维动态数组,我制作了一个动态数组 [N*N] 并访问 A[i,j] = A[(i-1)*N+j] v
当我尝试在 ubuntu 13(x64) 上编译 stp 时发生未知的 cmake 命令错误。 详细的错误信息是Unknown CMake command "stp_add_public_header
我不明白下划线的含义,例如在这些(不相关的)表达中 [ source ] (display (_ bv20 8)) (declare-const x (_ BitVec 64)) 或这个: (decl
我需要一个脚本来远程登录到 eagle STP 设备并在那里运行命令。 当我尝试从命令提示符远程登录 eagle STP 设备时, 我得到以下输出: [root@localhost tmp]# tel
我正在尝试生成 STP 数据包并使用 wireshark 捕获它。基本上我所做的是从 Scapy >>> send(STP()) 和来自 wireshark 的结果是: 53918 2671.9383
我有一些存储过程,其中输出一些 html 和 javascript,当我在浏览器(存储过程门户网站,Sas 9.3)中调用它们时,它们可以工作: 工作示例: put ''; if _n_ = 1 t
aarch64 架构没有多重存储和加载指令,即没有与 armv7 arch 中的 stm 和 ldm 等效的指令。相反,您必须使用 stp 和 ldp 指令来存储和加载寄存器对。 根据ARM引用手册:
我已经在网上搜索了一个库,我可以在我的 iOS 项目中使用它来显示 3D STEP 文件。...没有成功。 你们中有人知道可以显示真实 3D STEP 文件而无需转换的库吗? ...或者有人知道可以显
我已通过 UI 将 Sharepoint 2010 列表导出为列表模板(.stp 文件)。 有什么方法可以将此列表模板导入回 Visual Studio 2010,或者是我提取 .cab 文件并通过
我正在尝试使用选项背景通过 proc http 从 SAS 调用存储过程 (STP),以确保我的主进程不会等待 STP 完成。我确实使用以下代码: filename resp ""; %let url
我正在使用 forktracker.stp跟踪 fork 流程。脚本是这样的: probe kprocess.create { printf("%-25s: %s (%d) created %d\
我找不到示例,也无法弄清楚这些函数的文档: find-recursively find-recursively-if 假设我想找到第一个 在 Stack Overflow 的首页上。我可以通过这种方式
我正在尝试制作一个基于 GWT 的 Web 应用程序,它将能够显示来自 PTC Creo 的 .stp(STEP 文件)的 3D 模型。我在 Eclipse 中编程。 我从 Parallax3D 开始
从网页中的表单,我在新窗口中打开存储过程 (STP)。 " method="get" enctype="multipart/form-data"> STP 做了一些事情,完成后我需要关闭它的窗口。所以
我是一名优秀的程序员,十分优秀!