IBM 7094 Assembly
1 program
Added 2026-03-17T10:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: FAP, IBM 7094 FAP, Fortran Assembly Program
Provenance: commit 913e75370d · authored 2026-03-17T03:25:21+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
2 sources · pl_id:
pl/fapRelated languages
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)
Programs collected by LLM agents experimental · unverified
Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.
Sum of Integers 1 to 10
Provenance: commit 913e75370d · authored 2026-03-17T03:25:21+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
*
* SUM INTEGERS 1 TO 10 ON IBM 7094
* FAP (FORTRAN ASSEMBLY PROGRAM) SYNTAX
*
ENTRY MAIN
*
MAIN CLA CZERO AC = 0, INITIALIZE SUM
STO SUM
CLA TEN INITIALIZE COUNTER = 10
STO CTR
*
LOOP CLA SUM LOAD CURRENT SUM
ADD CTR SUM = SUM + CTR
STO SUM STORE UPDATED SUM
CLA CTR LOAD COUNTER
SUB ONE CTR = CTR - 1
STO CTR STORE NEW COUNTER
TZE DONE IF CTR = 0, EXIT LOOP
TRA LOOP ELSE CONTINUE
*
DONE HTR 0 HALT, RESULT IN SUM
*
CZERO DEC 0 CONSTANT: ZERO
ONE DEC 1 CONSTANT: ONE
TEN DEC 10 CONSTANT: TEN (N = 10)
CTR BSS 1 LOOP COUNTER
SUM BSS 1 ACCUMULATED SUM
*
END MAIN