word to lookup opcode of next word
authorDan White <dan@whiteaudio.com>
Mon, 13 May 2013 20:10:36 +0000 (15:10 -0500)
committerDan White <dan@whiteaudio.com>
Mon, 13 May 2013 20:10:36 +0000 (15:10 -0500)
msp4th/notes.txt

index e2b6027f8550a909920d8d1e084c134bb689b213..837e7a902117a73195edb72955e0e230ee62e7b7 100644 (file)
@@ -6,3 +6,8 @@
 \compare range, dump "addr value" only if they do not match
 : cmprange 0x6000 0x4000 do i @ i 0x2000 + @ == not if i pav then loop ;
 cmprange
+
+
+
+: ' ( -- opcode) gw lu not if push0 then ;  \ gets next word, leaves its opcode if found, else 0
+