| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package CPU::x86_64::InstructionWriter::Unknown; |
|
2
|
|
|
|
|
|
|
our $VERSION = '0.005'; # VERSION |
|
3
|
20
|
|
|
20
|
|
181
|
use strict; |
|
|
20
|
|
|
|
|
64
|
|
|
|
20
|
|
|
|
|
896
|
|
|
4
|
20
|
|
|
20
|
|
99
|
use warnings; |
|
|
20
|
|
|
|
|
40
|
|
|
|
20
|
|
|
|
|
1006
|
|
|
5
|
20
|
|
|
20
|
|
139
|
use Carp; |
|
|
20
|
|
|
|
|
39
|
|
|
|
20
|
|
|
|
|
7104
|
|
|
6
|
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
# ABSTRACT: Placeholder for a constant that will be assembled |
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub new { |
|
11
|
57637
|
|
|
57637
|
0
|
185839
|
my ($class, %fields)= @_; |
|
12
|
57637
|
|
|
|
|
560468
|
bless \%fields, $class; |
|
13
|
|
|
|
|
|
|
} |
|
14
|
|
|
|
|
|
|
|
|
15
|
0
|
0
|
|
0
|
1
|
0
|
sub name { $_[0]{name}= $_[1] if @_ > 1; $_[0]{name} } |
|
|
0
|
|
|
|
|
0
|
|
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub bits { |
|
18
|
0
|
|
|
0
|
1
|
0
|
my $self= shift; |
|
19
|
0
|
0
|
|
|
|
0
|
return $self->{bits} unless @_; |
|
20
|
0
|
|
|
|
|
0
|
my $val= shift; |
|
21
|
0
|
0
|
0
|
|
|
0
|
!defined $self->{bits} || $self->{bits} == $val |
|
22
|
|
|
|
|
|
|
or croak "Can't change bits from $self->{bits} to $val for unknown($self->{name})"; |
|
23
|
0
|
|
|
|
|
0
|
$self->{bits}= $val; |
|
24
|
|
|
|
|
|
|
} |
|
25
|
|
|
|
|
|
|
|
|
26
|
30
|
100
|
|
30
|
1
|
95
|
sub value { $_[0]{value}= $_[1] if @_ > 1; $_[0]{value} } |
|
|
30
|
|
|
|
|
62
|
|
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
__END__ |