(50G) Digits sum (50g)
|
12-11-2022, 11:15 AM
Post: #9
|
|||
|
|||
RE: (50G) Digits sum (50g)
My asm-version of programm:
" :: CODE C=DAT1 A ?C#0 A GOYES INTGR? LA 00201 *ERROR GOVLNG =Errjmp *INTGR? CD1EX A=DAT1 A D1=C R1=C A LC 02614 ?A=C A GOYES MAIN LA 00202 GOTO ERROR *MAIN SAVE C=R1 A D1=C C=DAT1 A D1=C D1=D1+5 A=DAT1 A LC 00006 ?A=C A GOYES ZERO A=A-5 A A=A-1 A A=A-1 A B=0 W C=0 W D1=D1+4 *Loop D1=D1+1 C=DAT1 1 B=B+C W A=A-1 A GONC Loop A=B W GOTO Skip *ZERO A=0 W *Skip GOSBVL HXDCW GOSBVL FLOAT SETHEX GOVLNG PUSH%LOOP ENDCODE SWAPDROP FPTR2 ^R>Z ; @" |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(50G) Digits sum (50g) - Juan14 - 04-12-2020, 08:05 PM
RE: Digits sum (50g) - grsbanks - 04-13-2020, 09:45 AM
RE: Digits sum (50g) - Nihotte(lma) - 04-13-2020, 08:38 PM
RE: Digits sum (50g) - Juan14 - 04-13-2020, 11:01 PM
RE: Digits sum (50g) - DavidM - 04-15-2020, 03:49 AM
RE: Digits sum (50g) - John Keith - 04-15-2020, 10:21 PM
RE: Digits sum (50g) - DavidM - 04-17-2020, 04:31 AM
RE: Digits sum (50g) - Gerald H - 04-17-2020, 10:42 AM
RE: (50G) Digits sum (50g) - gor1060 - 12-11-2022 11:15 AM
|
User(s) browsing this thread: 1 Guest(s)