I have a 8080 processor's emulator. I need write a program, which can multiple two two-digit numbers with operations of shifting and adding(as a result I can expect four-digit number)
As I know, all mathematic operations in intel-8080 are made in register 'A', but it can contain only two-digit numbers. If I multiple 'ff' and 'ff', I get an overflow. How to bypass this problem? Google said, that for my task there is carry flag, which will be '1', if overflow happens.
But I cannot understand, how I can use it.
Thanks for attention.