blib/lib/CPU/Emulator/Z80/ALU.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 17 | 76.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
144 | 28 | 11 | 1 | $s && !($result & 128) |
line | l | !l | condition |
---|---|---|---|
182 | 1228 | 721 | $value ||= 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
58 | 3 | 0 | 43 | !$flags->getC && $carry6to7 || $flags->getC && !$carry6to7 |
79 | 1 | 0 | 3 | !$flags->getC && $carry14to15 || $flags->getC && !$carry14to15 |
104 | 5 | 0 | 103 | !$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)) |