Handbook
Glossary
make-integer-literal ( string -- integer-literal )
Vocabulary
cpu
.
arm
.
64
.
assembler
.
opcodes
Inputs
string
an
object
Outputs
integer-literal
an
object
Definition
USING:
assocs
kernel
math.parser
sequences
;
IN:
cpu.arm.64.assembler.opcodes
:
make-integer-literal
( string -- integer-literal )
[
"0b"
prepend
{
{
120 48
}
}
substitute
string>number
]
[
length
]
bi
<integer-literal>
;