Handbook
Glossary
UBFIZ ( Rd Rn lsb width -- )
Vocabulary
cpu
.
arm
.
64
.
assembler
Inputs
Rd
an
object
Rn
an
object
lsb
an
object
width
an
object
Outputs
None
Definition
USING:
kernel
math
math.bitwise
math.order
;
IN:
cpu.arm.64.assembler
::
UBFIZ
( Rd Rn lsb width -- )
Rn
encode-width
5
+
:>
max-width lsb max-width
check-unsigned-immediate
drop
width
dup
1 max-width
2^
lsb
-
between?
[
immediate-error
]
unless
drop
Rd Rn lsb
neg
max-width
bits
width 1
-
UBFM
;