CPU-x86_64-InstructionWriter
view release on metacpan or search on metacpan
lib/CPU/x86_64/InstructionWriter.pm view on Meta::CPAN
my %set= (
"\x01\x02\x03\x04" => $writer->new_label,
"\x03\x04" => undef,
...
);
$writer->data(\%set);
Append a string of literal bytes to the instruction stream.
If the value is a hashref, each key of the hashref will be added, and each value of the hashref
will be a label that is anchored to the start of those bytes. If your hashref keys are unicode
strings, use L<data_str> instead. This also looks for opportunities to overlap strings if one
is a subset of another.
=head2 data_i8, data_i16, data_i32, data_i64
Pack an integer into some number of bits and append it.
=head2 data_f32, data_f64
Pack a floating point number into the given bit-length (float or double) and append it.
( run in 0.253 second using v1.01-cache-2.11-cpan-88abd93f124 )