
artemis.sh/2014/11/06/z80-assembly-binary-coded-decimal.html
Preview meta tags from the artemis.sh website.
Linked Hostnames
3Search Engine Appearance
z80 Assembly: Binary-Coded Decimal
One method for displaying numbers larger than 16 bits is to convert it to Binary Coded Decimal (BCD) first, and display the result. BCD works by using four bits to store each decimal (base 10) digit of a number. The following code can convert a number to BCD, and display it. It’s currently written to convert a 24 bit number to a 10 digit BCD number, but can be modified to support anything really. It is memory ineffecient, because it uses one byte for each digit rather than storing two digits per byte. This is useful though because it makes the display routine simpler.
Bing
z80 Assembly: Binary-Coded Decimal
One method for displaying numbers larger than 16 bits is to convert it to Binary Coded Decimal (BCD) first, and display the result. BCD works by using four bits to store each decimal (base 10) digit of a number. The following code can convert a number to BCD, and display it. It’s currently written to convert a 24 bit number to a 10 digit BCD number, but can be modified to support anything really. It is memory ineffecient, because it uses one byte for each digit rather than storing two digits per byte. This is useful though because it makes the display routine simpler.
DuckDuckGo
z80 Assembly: Binary-Coded Decimal
One method for displaying numbers larger than 16 bits is to convert it to Binary Coded Decimal (BCD) first, and display the result. BCD works by using four bits to store each decimal (base 10) digit of a number. The following code can convert a number to BCD, and display it. It’s currently written to convert a 24 bit number to a 10 digit BCD number, but can be modified to support anything really. It is memory ineffecient, because it uses one byte for each digit rather than storing two digits per byte. This is useful though because it makes the display routine simpler.
General Meta Tags
9- titlez80 Assembly: Binary-Coded Decimal
- titlez80 Assembly: Binary-Coded Decimal | artemis.sh
- charsetutf-8
- viewportwidth=device-width, initial-scale=1
- generatorJekyll v3.9.2
Open Graph Meta Tags
6- og:titlez80 Assembly: Binary-Coded Decimal
og:locale
en_US- og:descriptionOne method for displaying numbers larger than 16 bits is to convert it to Binary Coded Decimal (BCD) first, and display the result. BCD works by using four bits to store each decimal (base 10) digit of a number. The following code can convert a number to BCD, and display it. It’s currently written to convert a 24 bit number to a 10 digit BCD number, but can be modified to support anything really. It is memory ineffecient, because it uses one byte for each digit rather than storing two digits per byte. This is useful though because it makes the display routine simpler.
- og:urlhttps://artemis.sh/2014/11/06/z80-assembly-binary-coded-decimal.html
- og:site_nameartemis.sh
Twitter Meta Tags
1- twitter:cardsummary
Link Tags
2- canonicalhttps://artemis.sh/2014/11/06/z80-assembly-binary-coded-decimal.html
- stylesheet/assets/css/site.css
Links
10- http://benryves.com/bin/brass
- https://artemis.sh
- https://artemis.sh/archive.html
- https://artemis.sh/art.html
- https://artemis.sh/blog.html