blib/lib/CPU/Emulator/Z80/ALU.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 17 | 88.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
144 | 284 | 265 | 3 | $s && !($result & 128) |
line | l | !l | condition |
---|---|---|---|
182 | 1611 | 365 | $value ||= 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
58 | 3 | 2 | 41 | !$flags->getC && $carry6to7 || $flags->getC && !$carry6to7 |
79 | 1 | 0 | 3 | !$flags->getC && $carry14to15 || $flags->getC && !$carry14to15 |
104 | 7 | 3 | 610 | !$flags->getC && ($op2 & 127) > ($op1 & 127) || $flags->getC && !(($op2 & 127) > ($op1 & 127)) |
121 | 1 | 0 | 30 | !$flags->getC && ($op2 & 32767) > ($op1 & 32767) || $flags->getC && !(($op2 & 32767) > ($op1 & 32767)) |