From d80736ab6e8e3cad2f1a30c6eaba2d6883dbe967 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sat, 26 Aug 2017 20:31:40 +0200 Subject: Remove AmForth --- amforth-6.5/msp430/words/compare.asm | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 amforth-6.5/msp430/words/compare.asm (limited to 'amforth-6.5/msp430/words/compare.asm') diff --git a/amforth-6.5/msp430/words/compare.asm b/amforth-6.5/msp430/words/compare.asm deleted file mode 100644 index 75a8644..0000000 --- a/amforth-6.5/msp430/words/compare.asm +++ /dev/null @@ -1,18 +0,0 @@ - -HEADER(XT_COMPARE,7,"compare",DOCOLON) - -; : compare ( c-addr1 len1 c-addr2 len 2 -- f ) -; f == 0 if both strings are equal -; f <> 0 if strings differ, details are way more complex -; rot over <> if ( -- c-addr1 c-addr2 len2) -; \ string dont have the same length -; drop drop drop -1 exit then -; s= ; - - DW XT_ROT,XT_OVER,XT_NOTEQUAL - DW XT_DOCONDBRANCH - DEST(COMPARE_1) - DW XT_DROP,XT_2DROP, XT_MINUSONE,XT_EXIT -COMPARE_1: - DW XT_SEQUAL - DW XT_EXIT -- cgit v1.2.3