6.1.0880 CELL+ cell-plus CORE

( a-addr1 -- a-addr2 )

Add the size in address units of a cell to a-addr1, giving a-addr2.

See:

Rationale:

As with ALIGN and ALIGNED, the words CELLS and CELL+ were added to aid in transportability across systems with different cell sizes. They are intended to be used in manipulating indexes and addresses in integral numbers of cell-widths. Example:
2VARIABLE DATA

0 100 DATA 2!

DATA @ . 100

DATA CELL+ @ . 0

Testing:

ContributeContributions