On 12/8/2005 at 5:18 PM woodelf wrote:
The flag only works half the time, that is why it not
listed. :)
Looking at a 386 programming book, it is AF -- auxiliary carry.
Now what I still want to know is a real way to calculate the speed
of the 8086 other than it often a lot slower than the best timing
they give in the opcode tables.
Write a loop that executes, oh, 10,000,000 times. Get a stopwatch.
Start the program and the stopwatch simultaneously, stop the stopwatch when
the loop ends.
Calculate the average time per instruction as (time to
execute/(10,000,000*number of instructions in loop)
:)