#Assembler: The A-Flag
14-Nov-94 17:39:03
Sb: #851-#Assembler: The A-Flag
Fm: Geoffrey S. Kane 74537,1220
To: Nils Pipenbrinck 100121,2450
Nils,
I won't pretend to be an Asm guru, but…
BTW, my book lists an AF (Auxiliary carry) and a AC (Alignment check enabled)
flag. The AF is bit 4, and AC is bit 18 –NOTE: AC is a '486 only flag.
The AF is affected by: AAA, AAD*, AAM*, AAS, ADC, ADD, AND*, CMP,
CMPSB, CMPSD, CMPSW, CMPXCHG, DAA, DAS, DEC, DIV*, IDIV*, IMUL*, INC,
IRET, MUL*, NEG, OR*, POPF, POPFD, SAHF, SAL*, SAR*, SBB, SCASB,
SCASD, SCASW, SHL*, SHLD*, SHR*, SHRD*, SUB, TEST*, XADD and XOR*.
-NOTE: * means flag-change is "undefined" –that's what my
book says, I'm not sure what that means.
This info is from Tables 17.5 & 17.6 pp 652-3 in "Using
Assembly Language: 2nd Edition" Allen L. Wyatt, QUE: (c) 1990
ISBN 0-88-22-464-9
The AC flac is affected only by IRET.
My book does NOT cover P5 instructions, so I'm not sure about them.
I've double-checked my lists, but I CANNOT guarantee them –USE AT OWN RISK.
If you need a description of any of these instructions, just ask.
Hope this helps,
Jeff
P.S. > SUBMiSSiVE < <–huh?