Brandon Tiqui
Brandon Tiqui

Reputation: 1439

Why am I getting an error upon assembling?

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. 

Upvotes: 1

Views: 155

Answers (1)

Brandon Tiqui
Brandon Tiqui

Reputation: 1439

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.

Upvotes: 1

Related Questions