Buggy DAA instruction in intel-4004 emulator

Back to General discussions forum

Rodion (admin)     2015-11-03 05:47:35
User avatar

Dear Friends!

Our colleague Graeme 'Quandray' Yeandle after thorough investigation have spotted out the bug in our Intel-4004 emulator - about DAA instruction.

It just did not work right when the result of addition was greater than 15 - e.g. for summing 8+8 etc. Particularly this code (provided by Graeme as example) calculated 469 + 829 = 1282 instead of 1298.

Now the bug is fixed. I'm very very sorry for such a misleading mistake - and very very thankful to Grae for his efforts in helping with this!

Please login and solve 5 problems to be able to post at forum