Skip to content

Commit

Permalink
Removed extraneous multiplication comments
Browse files Browse the repository at this point in the history
  • Loading branch information
expitau committed Sep 19, 2022
1 parent 3a5f1c1 commit 3073318
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions examples/mult.fgs
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3073318

Please sign in to comment.