Binary to decimal can’t be that hard, right?
More 6502: https://eater.net/6502
Support these videos on Patreon: https://www.patreon.com/beneater or https://eater.net/support for other ways to support.
0:00 Introduction
2:09 Separating digits by dividing by 10
3:24 Dividing numbers in binary by hand
9:26 An algorithm for binary division
19:06 Implementing the algorithm in 6502 assembly
34:14 Running the program
34:45 Reversing the digits
41:38 It works!
------------------
Social media:
Website: https://www.eater.net
Twitter: https://twitter.com/ben_eater
Patreon: https://patreon.com/beneater
Reddit: https://www.reddit.com/r/beneater
Special thanks to these supporters for making this video possible:
Adrien Friggeri, Alexander Wendland, Andrew Vauter, Anson VanDoren, Armin Brauns, Ben Dyson, Ben Kamens, Ben Williams, Bill Cooksey, Binh Tran, Bouke Groenescheij, Bradley Pirtle, Bryan Brickman, Carlos Ambrozak, Christopher Blackmon, Cole Johnson, Daniel Jeppsson, Daniel Sackett, Daniel Tang, Dave Burley, Dave Walter, David Brown, David Clark, David House, David Sastre Medina, David Turnbull, David Turner, Dean Winger, Dmitry Guyvoronsky, Dušan Dželebdžić, Dzevad Trumic, Emilio Mendoza, Eric Brummer, Eric Busalacchi, Eric Dynowski, Eric Twilegar, Erik Broeders, Eugene Bulkin, fxshlein, George Miroshnykov, Harry McDow, HaykH, Hidde de Jong, Ian Tait, Ingo Eble, Ivan Sorokin, Jason DeStefano, Jason Specland, JavaXP, Jay Binks, Jayne Gabriele, Jeremy A., Jeremy Wise, Joe OConnor, Joe Pregracke, Joel Jakobsson, Joel Messerli, Joel Miller, Johannes Lundberg, John Fenwick, John Meade, Jon Dugan, Joshua King, Kefen, Kenneth Christensen, Kent Collins, Koreo, Lambda GPU Workstations, Larry, London Dobbs, Lucas Nestor, Lukasz Pacholik, Maksym Zavershynskyi, Marcus Classon, Martin Roth, Mats Fredriksson, Matt Alexander, Matthäus Pawelczyk, melvin2001, Michael Burke, Michael Garland, Michael Tedder, Michael Timbrook, Miguel Ríos, Mikel Lindsaar, Nicholas Moresco, Örn Arnarson, Örper Forilan, Paul Pluzhnikov, Paul Randal, Pete Dietl, Philip Hofstetter, Randy True, Ric King, Richard Wells, Rob Bruno, Robert Diaz, Ron Maxwell, sam raza, Sam Rose, Sergey Ten, SonOfSofaman, Stefan Nesinger, Stefanus Du Toit, Stephen Kelley, Stephen Riley, Stephen Smithstone, Steve Jones, Steve Gorman, Steven Pequeno, TheWebMachine, Tom Burns, Vlad Goran, Vladimir Kanazir, Warren Miller, xisente, Yusuke Saito
Видео Binary to decimal can’t be that hard, right? канала Ben Eater
Support these videos on Patreon: https://www.patreon.com/beneater or https://eater.net/support for other ways to support.
0:00 Introduction
2:09 Separating digits by dividing by 10
3:24 Dividing numbers in binary by hand
9:26 An algorithm for binary division
19:06 Implementing the algorithm in 6502 assembly
34:14 Running the program
34:45 Reversing the digits
41:38 It works!
------------------
Social media:
Website: https://www.eater.net
Twitter: https://twitter.com/ben_eater
Patreon: https://patreon.com/beneater
Reddit: https://www.reddit.com/r/beneater
Special thanks to these supporters for making this video possible:
Adrien Friggeri, Alexander Wendland, Andrew Vauter, Anson VanDoren, Armin Brauns, Ben Dyson, Ben Kamens, Ben Williams, Bill Cooksey, Binh Tran, Bouke Groenescheij, Bradley Pirtle, Bryan Brickman, Carlos Ambrozak, Christopher Blackmon, Cole Johnson, Daniel Jeppsson, Daniel Sackett, Daniel Tang, Dave Burley, Dave Walter, David Brown, David Clark, David House, David Sastre Medina, David Turnbull, David Turner, Dean Winger, Dmitry Guyvoronsky, Dušan Dželebdžić, Dzevad Trumic, Emilio Mendoza, Eric Brummer, Eric Busalacchi, Eric Dynowski, Eric Twilegar, Erik Broeders, Eugene Bulkin, fxshlein, George Miroshnykov, Harry McDow, HaykH, Hidde de Jong, Ian Tait, Ingo Eble, Ivan Sorokin, Jason DeStefano, Jason Specland, JavaXP, Jay Binks, Jayne Gabriele, Jeremy A., Jeremy Wise, Joe OConnor, Joe Pregracke, Joel Jakobsson, Joel Messerli, Joel Miller, Johannes Lundberg, John Fenwick, John Meade, Jon Dugan, Joshua King, Kefen, Kenneth Christensen, Kent Collins, Koreo, Lambda GPU Workstations, Larry, London Dobbs, Lucas Nestor, Lukasz Pacholik, Maksym Zavershynskyi, Marcus Classon, Martin Roth, Mats Fredriksson, Matt Alexander, Matthäus Pawelczyk, melvin2001, Michael Burke, Michael Garland, Michael Tedder, Michael Timbrook, Miguel Ríos, Mikel Lindsaar, Nicholas Moresco, Örn Arnarson, Örper Forilan, Paul Pluzhnikov, Paul Randal, Pete Dietl, Philip Hofstetter, Randy True, Ric King, Richard Wells, Rob Bruno, Robert Diaz, Ron Maxwell, sam raza, Sam Rose, Sergey Ten, SonOfSofaman, Stefan Nesinger, Stefanus Du Toit, Stephen Kelley, Stephen Riley, Stephen Smithstone, Steve Jones, Steve Gorman, Steven Pequeno, TheWebMachine, Tom Burns, Vlad Goran, Vladimir Kanazir, Warren Miller, xisente, Yusuke Saito
Видео Binary to decimal can’t be that hard, right? канала Ben Eater
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Hardware interrupts](https://i.ytimg.com/vi/DlEa8kd7n3Q/default.jpg)
![](https://i.ytimg.com/vi/AJRBGkF19-I/default.jpg)
![NES Emulator Part #1: Bitwise Basics & Overview](https://i.ytimg.com/vi/F8kx56OZQhg/default.jpg)
![Why was Facebook down for five hours?](https://i.ytimg.com/vi/-wMU8vmfaYo/default.jpg)
![Arduino Uno to ATmega328 - Shrinking your Arduino Projects](https://i.ytimg.com/vi/Sww1mek5rHU/default.jpg)
![How To Convert Decimal to Binary](https://i.ytimg.com/vi/rsxT4FfRBaM/default.jpg)
![Exploring How Computers Work](https://i.ytimg.com/vi/QZwneRb-zqA/default.jpg)
![How do CRCs work?](https://i.ytimg.com/vi/izG7qT0EpBw/default.jpg)
![How to use the Atmel ATTINY10 Microcontroller](https://i.ytimg.com/vi/ra7bT74EGUs/default.jpg)
![“Hello, world” from scratch on a 6502 — Part 1](https://i.ytimg.com/vi/LnzuMJLZRdU/default.jpg)
![World's worst video card? The exciting conclusion](https://i.ytimg.com/vi/uqY3FMuMuRo/default.jpg)
![Reliable data transmission](https://i.ytimg.com/vi/eq5YpKHXJDM/default.jpg)
![So how does a PS/2 keyboard interface work?](https://i.ytimg.com/vi/7aXbh9VUB3U/default.jpg)
![How I Would Learn To Code If I Was To Start Over](https://i.ytimg.com/vi/A8ldqcFS5S8/default.jpg)
![Making a computer Turing complete](https://i.ytimg.com/vi/AqNDk_UJW4k/default.jpg)
![Assembly language vs. machine code — 6502 part 3](https://i.ytimg.com/vi/oO8_2JJV0B4/default.jpg)
![How does a USB keyboard work?](https://i.ytimg.com/vi/wdgULBpRoXk/default.jpg)
![Learn how computers add numbers and build a 4 bit adder circuit](https://i.ytimg.com/vi/wvJc9CZcvBc/default.jpg)
![Why build an entire computer on breadboards?](https://i.ytimg.com/vi/fCbAafKLqC8/default.jpg)
![Inside a Znter lithium 9V battery.](https://i.ytimg.com/vi/dR_RusM99no/default.jpg)