]> git.sur5r.net Git - cc65/commitdiff
Added missing ror absolute override.
authorOliver Schmidt <ol.sc@web.de>
Mon, 12 Mar 2018 11:14:25 +0000 (12:14 +0100)
committerGitHub <noreply@github.com>
Mon, 12 Mar 2018 11:14:25 +0000 (12:14 +0100)
Fixes https://github.com/cc65/cc65/issues/489 as suggested by EtchedPixels.

src/da65/opc65c02.c

index 1351f5eeee2d7ad92a716d2288debd5913d7147a..8133bccae1ab0f60c261cf33ba23f783eff9472d 100644 (file)
@@ -157,7 +157,7 @@ const OpcDesc OpcTable_65C02[256] = {
     {   "",     1,  flIllegal,                OH_Illegal,              }, /* $6b */
     {   "jmp",  3,  flLabel,                  OH_JmpAbsoluteIndirect   }, /* $6c */
     {   "adc",  3,  flUseLabel|flAbsOverride, OH_Absolute              }, /* $6d */
-    {   "ror",  3,  flUseLabel,               OH_Absolute              }, /* $6e */
+    {   "ror",  3,  flUseLabel|flAbsOverride, OH_Absolute              }, /* $6e */
     {   "bbr6", 3,  flUseLabel,               OH_BitBranch             }, /* $6f */
     {   "bvs",  2,  flLabel,                  OH_Relative              }, /* $70 */
     {   "adc",  2,  flUseLabel,               OH_DirectIndirectY       }, /* $71 */