Fixed-form calculations from fixed ADD; DOWxx; free code where the bracket says so #674
Loading…
Reference in a new issue
No description provided.
Delete branch "rpg-l10-fixed-loops-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 from fixed ADD; DOWxx; free code where the bracket says so
FLOW/lx-fixed has no CABxx, GOTO or TAG, but its ADD compiles in the digits of
the packed result field without an exception bracket (
29 N; 27 1; 54 5 0 0; 37 N), which free form does not (calibration H). That shape now also makes thecalculations fixed form (
fixedArithmetic), when each statement has a wordthat fixed-form calculations write: CASxx, ANDxx, DOU and the other words
without a C line keep the free-form text of case-held, fixed-conditions,
fx-held, fx-held2 and until-chain-held (fewer failures there), and so do a
part of a field, a pointer, a built-in function and *INZSR, which columns do
not declare or write yet (r6a-reset-fixed).
N DOWLT 40is the comparisonand a jump on true past the loop without a bracket, like IFxx: a C line
(
emit_c_dow_v1). ENDDO, ELSE, ITER and LEAVE are C lines too.DOW N < 30andIF N = 5(extended factor 2) compare inside an exceptionbracket and jump on false, as free code does. Calibration L
(captures/calL-20261029): the source with those two as free code in columns 8
to 80 and every other statement fixed matches, as does the source with all
fixed; so does the emitted text (C lines, the two bracketed statements free).
In fixed-form calculations a statement without a C line is free code in
columns 8 to 80 when its operations hold the bracket (
bracketed), else afailure line as before.
Gates
c449c99ca402bcf15159