编译出错:must be index or base register

Posted luocodes

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了编译出错:must be index or base register相关的知识,希望对你有一定的参考价值。

指令

mov ds:[dx],dx

 

原因:上述指令使用寄存器相对寻址方式,只能使用BX,BP,SI,DI

方括号里必须是变址(index,指SI, DI)或基址(base,指BX, BP)寄存器

 

正确写法:

mov ds:[bx],bx

 

以上是关于编译出错:must be index or base register的主要内容,如果未能解决你的问题,请参考以下文章

XRecycleView (Scrapped or attached views may not be recycled)

解决《利用python进行数据分析》P139报错问题 index must be monotonic increasing or decreasing

Android N requires the IDE to be running with Java 1.8 or later

The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar

错误记录IntelliJ IDEA 编译 Groovy 报错 ( GroovyRuntimeException: This script or class could not be run. )

Variable used in lambda expression should be final or effectively final