![]() |
1
0
至少在我上次尝试它时,您无法在VC++的内联程序集块内创建标签。但是,使用C样式标签是可行的:
我已经有一段时间没有用vc++编写任何内联程序集了,所以我不能保证它能正常工作,但我想这是一个很公平的机会。 |
![]() |
2
0
I've been without computer access, so hopefully you've resolved this already. I think that the problem is that using "\" to end the line actually tells the C preprocessor to merge the next line with this line. See comment 3 on this page 和线路拼接 here . 这对于大多数C语句都可以,但对于汇编来说更为困难,因为新行是它如何删除语句的。
I can think of two approaches to a solution. The first is to find something like C's ";" which can be used as a statment separator in assembly, I don't know if such a thing exists. The second approach is to wrap everything in separate
注意:我将标签放在asm语句之外,因为:
|
![]() |
3
0
只是一个疯狂的猜测:宏将把所有文本扩展到一行,以
An indication for that hypothesis is that the error occurs on your second "line". The first is ok, but the second will be merged to the first, so this is the first chance for the compiler to get confused. Had the error been somewhere later, this wouldn't be it probably. |
![]() |
4
0
通过将函数体封闭在另一个范围中来修复它。 |
![]() |
Helic · 引用项目中的Visual Studio生成事件 10 月前 |
|
Fardin Jim · React中的HandleError 10 月前 |
![]() |
Sam · 返回Visual Studio中文档注释中的标记 11 月前 |
![]() |
Natty · Visual Studio中缺少“代码覆盖率结果” 1 年前 |
![]() |
xTMx · 如何修复恢复自定义Nuget软件包的问题? 1 年前 |
![]() |
CCarter · 只能在设计器中DependencyObject的DependencyProperty上设置显示“Binding”的WPF ICommand DependencyProperties[重复] 1 年前 |
![]() |
Max · VS 2022中的缩放级别在哪里 1 年前 |