0
\$\begingroup\$

Suppose two 16bits numbers are added in 8085, then there is a carry, so, how do I save the carry into a memory location?

\$\endgroup\$
  • 1
    \$\begingroup\$ Add it to 0, just like every other platform. \$\endgroup\$ – Ignacio Vazquez-Abrams Oct 15 '17 at 6:51
0
\$\begingroup\$

JNC - Jump if not carry use it to jump past code that stores some value in memory, or increments some register.

\$\endgroup\$
  • \$\begingroup\$ Oh, I see, so there's no direct instruction linking from flag to memory then? \$\endgroup\$ – mathmaniage Oct 15 '17 at 7:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.