2 ms·
On page 27, example 2, they use JP PE, LOOP. Why not JR PE, LOOP-$? Is that because JR has no encoding for some flags?
by wruza 6y ago
On page 27, example 2, they use JP PE, LOOP. Why not JR PE, LOOP-$? Is that because JR has no encoding for some flags?
- elvis70 6y agoYes, you can only test the carry and zero flags with JR. Note that JP takes one byte more but is a bit faster than JR when the condition is met.