[fpc-devel] Episode 4. Addressing and it's limits Part Two

Hans-Peter Diettrich DrDiettrich1 at aol.com
Fri Feb 10 09:52:18 CET 2012


Tomas Hajny schrieb:

> The Intel x86 (and thus also Pentium) opcodes like "AAD" ("ASCII 
> adjust before division"), etc., suggest some dependency, but I admit 
> that I didn't try to analyze what results it would have with EBCDIC.

BCD values are stored as "nibbles" (4 bit binary values), which are 
independent from character codes. A nibble happens to represent the low 
4 bits of the digits, in both ASCII and EBCDIC.

DoDi




More information about the fpc-devel mailing list