aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/msp430/words/bm-test.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/msp430/words/bm-test.asm')
-rw-r--r--amforth-6.5/msp430/words/bm-test.asm5
1 files changed, 5 insertions, 0 deletions
diff --git a/amforth-6.5/msp430/words/bm-test.asm b/amforth-6.5/msp430/words/bm-test.asm
new file mode 100644
index 0000000..ce9ec0d
--- /dev/null
+++ b/amforth-6.5/msp430/words/bm-test.asm
@@ -0,0 +1,5 @@
+;Z CTSTB c c-addr -- c2 test bits in memory byte
+ CODEHEADER(XT_BM_TEST,5,"bm-test")
+ MOV.B @TOS,TOS
+ AND @PSP+,TOS
+ NEXT