views:

37

answers:

1

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.
+1  A: 

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.

Brandon