According to the Technical Reference Manual, there are two ways how a number can be stored in R0 (or other arithmetic register). First, there is the "standard" floating point BCD representation, and second, there is the binary representation (which uses just part of the register - 1 Byte flag and 2 Bytes value).
However, the binary representation cannot be used with the arithmetic ROM routines (like SBR(F0) - addition).
What is the easiest way to convert the number in R0 from binary format to FP BCD format? Is there a subroutine for this purpose?
I tried to normalize the binary number by SBR (E8), but it does not perform the conversion.
Thanks for help.
PC-1500 arithmetic registers
Talk in English
Modérateur : Politburo
Répondre
1 message
• Page 1 sur 1
Retourner vers « Silicium in English »
Aller à
- MySilicium
- ↳ Présentation
- ↳ Général
- ↳ A quoi t'as joué hier ?
- ↳ Sondages
- ↳ Silicium in English
- ↳ Bistrot
- Transactions et Acquisitions
- ↳ Frimer - brag - dernières acquisitions
- ↳ Je donne, j'échange, j'achète et je vends [réservé aux membres actifs]
- ↳ Donne, Echange, Achète et Vends [réservé aux visiteurs de passage]
- Recherches diverses
- ↳ Recherche informations / technique / etc ... [pas de petites annonces ici]
- ↳ Liens en vrac
- ↳ Problèmes techniques
- ↳ Bibliographie
- ↳ Résolution de problèmes
- ↳ Bidouilles
- ↳ Transferts PC
- Systèmes 8bits, 16bits, 32bits, plein de bits, ...
- ↳ Tous les ordinateurs
- ↳ Toutes les consoles
- ↳ Tous les Pockets
- ↳ Amstrad
- ↳ Apple 8 et 16 bits
- ↳ Apple Lisa
- ↳ Apple Macintosh
- ↳ Atari 8bits
- ↳ Atari ST et compagnie
- ↳ Commodore 8bits
- ↳ Commodore Amiga
- ↳ Exelvision
- ↳ Goupil / Tandy
- ↳ Matra-Hachette Alice
- ↳ MSX
- ↳ NeXT
- ↳ Oric
- ↳ PDA
- ↳ Philips VG-5000
- ↳ Sinclair
- ↳ Squale (Apollo7)
- ↳ Tavernier
- ↳ Texas Instruments
- ↳ Thomson
- ↳ Victor & Hector
- ↳ Les Single Board Computers (SBC)
- ↳ Robots
- ↳ Bornes d'Arcade
- ↳ Flippers
- ↳ Emulateurs
- Divers
- ↳ Livres / Bouquins
- ↳ Idées
- ↳ Atari 800XLHD
- ↳ Ti99/4 light et Ti99/4 console
- Manifestations
- ↳ Vieumikro
- ↳ Infoticaires
- ↳ Pocketicaires
- ↳ Apple 2 France Festival
- ↳ Cyberbecue
- ↳ Retrogaming L'Union
- ↳ Autres manifestations
- Projets
- ↳ Silicium
- ↳ Les Guides : souscriptions
- ↳ Stock
- ↳ Partenariat avec la chaîne Youtube Lord Paddle