Changeset 2263
- Timestamp:
- Jun 12, 2011 10:50:54 AM (2 years ago)
- Location:
- forth
- Files:
-
- 2 edited
-
kernel/kernel.fth (modified) (1 diff)
-
lib/util.fth (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
forth/kernel/kernel.fth
r2137 r2263 703 703 ' allot-abort is allot-error 704 704 705 /n-t 8 * constant bits/cell 706 705 707 : , (s n -- ) here /n allot unaligned-! ; 706 708 : c, (s char -- ) here dup set-swap-bit /c allot c! ; -
forth/lib/util.fth
r655 r2263 67 67 : confirmedn? ( adr len -- yes? ) (confirmed?) [char] Y = ; 68 68 69 /n 8 * constant bits/cell70 69 : lowmask ( #bits -- mask ) 1 swap lshift 1- ; 71 70 : lowbits ( n #bits -- bits ) lowmask and ;
Note: See TracChangeset
for help on using the changeset viewer.
