Fixed-form calculations: DOUxx, ANDxx, CASxx and ENDCS #675
Loading…
Reference in a new issue
No description provided.
Delete branch "rpg-l11-fixed-cases-20261029"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixed-form calculations: DOUxx, ANDxx, CASxx and ENDCS
FLOW/fixed-conditions has
M DOUGE 9,N IFGT 1withM ANDLT 20, andN CASEQ 5 SRX,N CASGT 5 SRY,CAS SRZ,ENDCS. Each comparison is thetwo factors, the comparison and a jump on true without an exception bracket:
DOUxx inside the loop it tests (
emit_c_dou_v1), ANDxx after its IFxx(
emit_c_and_v1), CASxx before the call of its subroutine, which is theresult field (
emit_c_cas_v1); ENDCS is a C line (emit_c_endcs_v1). Infixed-form calculations a CASxx calls its subroutine, so the BEGSR of a
subroutine that only CASxx runs is written (
subroutineCalled). The laststatement before an ELSE carries the jump of its block (
108; 18 E), whichfixedOpsleaves out. A fixed ADD now makes these programs fixed form too.The text of FLOW/fixed-conditions matched its object on the host
(calibration M, captures/calM-20261029). The held-out case-held and
until-chain-held, not used for these rules, now have 3 and 1 failures (8 and 3
before).
Gates