assembly - LNK1190:找到无效的修正,类型 0x0001
问题描述
遇到“LNK1190: invalid fixup found, type 0x0001”的问题不明白,我在哪里犯了错误。我正在使用 TASM Visual Studio。之前没有找到任何答案。谁能告诉我,问题出在哪里?此代码假设获取行并更改其中第一个和最后一个符号的位置。
.model small
.stack 100h
.486
.code
jmp start
.data
mess db 'String: $'
buff db 12 dup(0),'$'
len equ 12
.code
start:
mov ah,9
lea dx, mess
int 21h
mov cx,len
lea di,buff
push cx
mov ah,1
input: int 21h
stosb
loop input
pop si
begin: lodsb
push ax
loop begin
lea di,buff
mov cx,len
write: pop ax
stosb
loop write
mov ah,2
xor bx,bx
mov dh,10
mov dl,30
int 10h
mov ah,9
lea dx,buff
int 21h
xor ax,ax
int 16h
int 20h
int 21h
END start
解决方案
推荐阅读
- .net - 将任意数据与 COM 线程上下文相关联
- firebase - 收到 Xamarin 表单推送通知但未显示/出现
- python - 使用 MongoDB 的嵌套文档创建 Pandas 表
- c++ - 为什么我会在此遇到“标准输出无响应”错误?
- r - SVM 插入符号错误:“无法计算标准偏差......缺少 TRUE/FALSE 需要的值”
- python-3.x - 如何使用 python selenium 选择 jira 中的第一个条目
- xml - 如果事先不知道 Java 对象,如何将 XML 转换为 Java 对象?
- java - 需要帮助理解这种插入方法的结构
- css - 溢出相对定位父级的绝对定位伪元素设置为溢出:隐藏
- amazon-web-services - 由于变量太长,AWS CLI S3 COPY 命令获取 FINDSTR 错误?