From 30733183c07e4c08ca3436c5d173deefe4e8e903 Mon Sep 17 00:00:00 2001 From: expitau-dev Date: Mon, 19 Sep 2022 18:19:00 -0400 Subject: [PATCH] Removed extraneous multiplication comments --- examples/mult.fgs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/examples/mult.fgs b/examples/mult.fgs index e7becd9..d434e6e 100644 --- a/examples/mult.fgs +++ b/examples/mult.fgs @@ -1,18 +1,18 @@ v...THIS PROGRAM MULTIPLIES TWO STRICTLY POSITIVE INTEGERS FROM STDIN.................................... v...P....OG.L..QI.AN.F...K..C....H.....M...E.......J.....B.............................D.................Using B, E, H, K, N -.*..=.=*.==.=..==..=.=..*=.......=...v.=...........=.....................................................RESET +.*.....*................*............v...................................................................RESET v..........................................<.............<...............................................LOAD B, E -.*..=.=*.==.=..==..=.=..*=.......=...v.=...........=.....................................................RESET +.*.....*................*............v...................................................................RESET ...^........................v............................*.............................v...v.............B NEQ 0 ? ^..................+........^................v...........-.............................v................. DEC B, INC N -.^..=.=*.==.=..==..=.=v.*=.......=...^.=...........=.....................................................LOOP -.*.^=.=*.==.=..==..=.=..*=.......=...v.=...........=.....................................................FINALLY -^..^^....v.........*........................................:..............................v.............N NEQ 0 ? +.^.....*..............v.*............^...................................................................LOOP +.*.^...*................*............v...................................................................FINALLY +^..^^....v.........*.......................................................................v.............N NEQ 0 ? ^^..v....^.........-.............+...........v...........+............................................... DEC N, INC B, INC H -.*.^=.=*.==.=..==..=.=v.*=.......=...^.=...........=.....................................................LOOP -^*..=.=*.==.=..==..=.=..*=.......=...v.=...........=.....................................................FINALLY +.*.^...*..............v.*............^...................................................................LOOP +^*.....*................*............v...................................................................FINALLY .^.v.......................................-.............................................................DEC E -.*.^=.=*.==.=..==..=.=..*=.......=...v.=...........=.....................................................RESET -^....................!=0...................*.......................................................v==0..E NEQ 0 ? REPEAT -.*..=.=*.==.=..==..=.=..*=.......=...v.=...........=.....................................................FINALLY +.*.^...*................*............v...................................................................RESET +^..........................................*.......................................................v.....E NEQ 0 ? REPEAT +.*.....*................*............v...................................................................FINALLY v................................>.......................................................................PRINT H, EXIT