Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #27083

Re: Double multiplication

From "Ed" <invalid@invalid.com>
Newsgroups comp.lang.forth
Subject Re: Double multiplication
Date 2013-12-01 23:41 +1100
Organization Aioe.org NNTP Server
Message-ID <l7fasa$4ih$1@speranza.aioe.org> (permalink)
References <l72gu7$qj0$1@odin.sdf-eu.org> <ac654e44-0900-4f97-8ae2-5efb52883c32@googlegroups.com>

Show all headers | View raw


mhx@iae.nl wrote:
> ...
> Where did you look?
> Nathaniel Grossman, FD Vol VI, no 6, page 25 (available in scanned form).

The OP may not be as old as the rest of us :)  That article was from an age
when 16-bit was the norm and Grossman was using a VIC-Forth cartridge.

> ...
> CR ." DTUCK     ( d1 d2 -- d2 d1 d2 )"
> CR ." DNIP      ( d1 d2 -- d2 )"

Conventionally these would be:

    2TUCK  ( x1 x2 x3 x4 -- x3 x4 x1 x2 x3 x4 )
    2NIP  ( x1 x2 x3 x4 -- x3 x4 )

as they work equally well with pairs of singles.


Back to comp.lang.forth | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Double multiplication David Meyer <papa@sdf.org> - 2013-11-26 16:06 +0000
  Re: Double multiplication anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2013-11-26 16:13 +0000
    Re: Double multiplication "Alex McDonald" <blog@rivadpm.com> - 2013-11-26 22:59 +0000
    Re: Double multiplication Hans Bezemer <the.beez.speaks@gmail.com> - 2013-11-27 22:34 +0100
      Re: Double multiplication anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2013-11-28 15:51 +0000
  Re: Double multiplication mhx@iae.nl - 2013-11-26 10:14 -0800
    Re: Double multiplication "Ed" <invalid@invalid.com> - 2013-12-01 23:41 +1100
      Re: Double multiplication mhx@iae.nl - 2013-12-02 02:23 -0800
        Re: Double multiplication "Ed" <invalid@invalid.com> - 2013-12-05 22:19 +1100
        Re: Double multiplication Hans Bezemer <the.beez.speaks@gmail.com> - 2013-12-05 13:14 +0100
          Re: Double multiplication Coos Haak <chforth@hccnet.nl> - 2013-12-06 00:16 +0100
          Re: Double multiplication "Rod Pemberton" <dont_use_email@xnohavenotit.cnm> - 2013-12-05 21:24 -0500
  Re: Double multiplication albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-11-26 20:20 +0000
    Re: Double multiplication "Elizabeth D. Rather" <erather@forth.com> - 2013-11-26 11:43 -1000

csiph-web