Path: csiph.com!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: "Rod Pemberton" Newsgroups: comp.lang.forth Subject: Re: top 10 words which should *not* be in a Forth dictionary? Date: Sat, 08 Mar 2014 18:40:49 -0500 Organization: Aioe.org NNTP Server Lines: 38 Message-ID: References: NNTP-Posting-Host: CNsg4fVcCsvs3UaOgZtQCw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.16 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.forth:28989 On Sat, 08 Mar 2014 17:36:09 -0500, Elizabeth D. Rather = wrote: > On 3/8/14 12:20 PM, Rod Pemberton wrote: >> On Sat, 08 Mar 2014 06:27:26 -0500, Mark Wills >> wrote: >>> ROT and -ROT. As descriptive words they suck. Neither of them descri= be >>> the direction in which they rotate. Every freaking time I need them = I >>> need to look them up. Why can't they be called be LROT and RROT. >> >> For x86, I can never remember when, before or after, or which directi= on, >> incremented or decremented, the stack pointer is adjusted for PUSH an= d = >> POP. >> So, I use a mnemonic abbreviation, POPIA - POP Increments After. >> >> -ROT pops the 3rd to the top. That sort of rhymes... ROT pushes. > > Um, that's backwards. > > 6.1.2160 ROT =E2=80=9Crote=E2=80=9D CORE ( x1 x2 x3 -- x2 x3 x1 ) > Rotate the top three stack entries. > > ROT brings the 3rd item to the top. > Heh! So true... That makes a mnemonic abbreviation easier: ROTPT - ROT Pops (to) Top Rod Pemberton