Login
Search for:


Previous | Next

From: Rachy (all posts)
Date: 2000-07-25
Subject: ADC - SBC
Hello there!

I have some questions, I can't get proper answers by myself. (I don't have a TV or composite monitor for my plusi.)
It is about the decimal mode of ADC and SBC codes:

1. What exactly happens when I am trying to add a number to a non-
decimal coded number (semi-tetrade?) in decimal mode. Like:

LDA #$1e ;Non-BDC CLC SED ADC #$01

What the result would be?

2. In decimal mode ADC and SBC how implements carrying (carry flag)?

3. When will be overflow flag set at ADC and SBC commands? (In non-
decimal and decimal mode too.)

Thanks in advance:

Rajnai Almos

+---------------------------=%%&##########&%%=-------------------------+
| Rachy of Bi0Hazard | PowerAmiga owner | ATO Hungarian |F0NT! |
| e-mail: racs@fs2.bdtf.hu | No Risc No Fun! | member |Editor|
+-----ICQ:-16342960---------=%%&##########&%%=---Phone:+36 20 9891489--+

Copyright © Plus/4 World Team, 2001-2024. Support Plus/4 World on Patreon