* device/lib/_gptrput.c,
[fw/sdcc] / src / ds390 / gen.c
index 3e1f045c6b281c484938575cbbaf465ddb0649ca..bbc1f5d681d9d459328b5f281050a833af3dbdd3 100644 (file)
@@ -9867,7 +9867,7 @@ genrshFour (operand * result, operand * left,
       _startLazyDPSEvaluation();
       if (shCount == 1)
         {
-            shiftRLong (left, MSB16, result, sign);
+          shiftRLong (left, MSB16, result, sign);
         }
       else if (shCount == 0)
         {
@@ -10997,8 +10997,8 @@ genGenPointerGet (operand * left,
                 // with the implementation of __gptrgetWord
                 // in device/lib/_gptrget.c
                 emitcode ("lcall", "__gptrgetWord");
-                aopPut (result, DP2_RESULT_REG, offset++);
                 aopPut (result, "a", offset++);
+                aopPut (result, DP2_RESULT_REG, offset++);
                 size--;
             }
             else