Supported RPG Features

The MOVEL opcode supports the (P) pad extender to control how the result field is filled:

Extender Meaning
(none) Overlay left - only the leftmost characters/digits of the result are replaced; trailing (low-order) positions are preserved
P Pad - the result's trailing positions are cleared (blank for character, zero for numeric) after the left-justified move
C                   MOVEL     'AB'           FLD          (FLD was '12345' → 'AB345')
C                   MOVEL(P)  'AB'           FLD          (FLD was '12345' → 'AB   ')

For a numeric result the digit positions are overlaid ignoring the decimal point, left-justified. The sign is taken from the source only when the source is at least as wide as the result (it then reaches the rightmost, sign-bearing position). When the source is narrower than the result the sign in the preserved low-order positions stands: without (P) the result keeps its own prior sign, and with (P) the low-order positions - including the sign - are cleared, so the result is positive.