From: Matthias T. <mt...@we...> - 2013-02-14 19:14:26
|
hi Enoch, > I'd like to see this forum also offering code snippets, so here's my > first humble attempt of harnessing the atomic bit manipulation > instructions. > > : port:hi ( portadr bitno -- ) \ SBI > swap $20 - 3 lshift or $9A00 or code , end-code Did you actually test this code? CODE is a parsing word that starts a new dictionary entry. There is currently no way to switch between forth and machine code (that would be ;CODE btw) Puzzled Matthias |