diff --git a/src/cc65/codeent.c b/src/cc65/codeent.c index 7dd90833b..09ca0a9c5 100644 --- a/src/cc65/codeent.c +++ b/src/cc65/codeent.c @@ -476,6 +476,11 @@ int CE_UseLoadFlags (CodeEntry* E) } } + /* PHP will use all flags */ + if (E->OPC == OP65_PHP) { + return 1; + } + /* Anything else */ return 0; }