开发者

Why am I getting an error upon assembling?

开发者 https://www.devze.com 2022-12-13 05:11 出处:网络
I am trying to translate global array vector but whenever I assemble it I get an error.I am using indexed addressing and I don\'t understand why this 开发者_如何转开发is wrong.

I am trying to translate global array vector but whenever I assemble it I get an error. I am using indexed addressing and I don't understand why this 开发者_如何转开发is wrong.

Figure 6.34

         DECO    vector,x   ;      << vector[i];ERROR: This instruction cannot have this addressing mode. 


I just received an answer via email and it was a problem with the addressing mode getting changed. Redefining the mnemonics (via the system menu) remedied the situation.

0

精彩评论

暂无评论...
验证码 换一张
取 消