6502 Assembly Language #5: From Assembler to Monitor
Channel: Aaron Baugher
Date: 13/12/2018

Continuing with [[/post/assembly-04-binary-division-6502][the code we wrote in #4]], we compare the code the assembler understands, with comments and labels, to the machine code it produces, using the machine language monitor in the Commodore 128 to disassemble it. We also convert the binary division routine from #4 to handle 16-bit dividends, and then 32-bit. Also discussed the issue of where to store working values in memory.

A side note: I was puzzled during the video why my perl command was printing a 1 after the expected value of "b27". I realized afterwards I had written "print printf..." so the "printf" was prnting out the "b27" and then "print" was printing the succesful return value of the printf, which was 1.