Handbook
Glossary
zero-byte-array ( len reg -- )
Vocabulary
compiler
.
cfg
.
intrinsics
.
allot
Inputs
len
an
object
reg
an
object
Outputs
None
Definition
USING:
compiler.cfg.hats
compiler.cfg.instructions
compiler.constants
cpu.architecture
kernel
layouts
math
sequences
;
IN:
compiler.cfg.intrinsics.allot
::
zero-byte-array
( len reg -- )
0
^^load-literal
:>
elt reg
^^tagged>integer
:>
reg len
cell
align
cell
/i
<iota>
[
[
elt reg
]
dip
cells
byte-array-offset
+
int-rep
f
##store-memory-imm,
]
each
;