Handbook
Glossary
aligned-immediate ( n width alignment -- n' )
Vocabulary
cpu
.
riscv
.
64
.
assembler
Inputs
n
an
object
width
an
object
alignment
an
object
Outputs
n'
an
object
Definition
USING:
kernel
math
;
IN:
cpu.riscv.64.assembler
::
aligned-immediate
( n width alignment -- n' )
n width
unsigned-immediate
n alignment 1
-
bitand
zero?
[
]
[
n width
invalid-riscv-immediate
]
if
;