Day 8 saw me playing with more branching opcodes, including BCS (branch if greater than or equal) and BCC (branch if less than). Both of the branching instructions happen after a CMP (Compare) opcode. The results of the CMP opcode are stored in the carry flag. BCC stands for Branch …
read moreLearning Challenge - 6502 Assembly: Day 6-7
Day six came and went with me not doing the learning challenge at all while I put together the latest episode of Open Metalcast.
Day seven was a little more productive with playing around with BEQ some more and realizing that I'm going to get the most out of entering …
read moreLearning Challenge - 6502 Assembly: Day 5
Got a little distracted in this round as I wanted to try to do the next chapter on the Atari. Unfortunately there is a slight problem with the Atari and how it handles displaying characters on the screen.
Most books tend to cheat when they come to displaying characters on …
read moreLearning Challenge - 6502 Assembly: Day 4
6502 assembly is really great for looping, especially if you are looping in one byte. The X register can hold your index, and the Branch Not Equal (BNE) opcode can check to see if you have hit zero or not (and branch to the location if you haven't). I decided …
read moreLearning Challenge - 6502 Assembly: Day 3
iPlaying around with the Merlin assembler and the built-in Mini-Assembler on the Apple. I have to say I am impressed at how machine-language friendly the Apple ][ is, as the machine ships with a full-featured monitor along with a basic assembler for dropping in mnemonics into memory and getting the op-codes …
read more