[torontocbm] Re: C64 ASM Question

  • From: Robin Harbron <macbeth@xxxxxxxxxxx>
  • To: torontocbm@xxxxxxxxxxxxx
  • Date: Fri, 12 Jun 2009 21:44:40 -0400

wbochar wrote:

I was wondering if someone out there can give me some guidance on an assembler problem I am having

Hi, I whipped up this example that should give you an idea: http://pastebin.com/f3d50c23a

Look up Indirect Indexed Addressing (page 223-224 in the C-64 Programmer's Reference Guide for a decent example) for more info.

Self-modifying code can be used for this sort of task too, and is actually quicker, but probably harder to understand.

Robin.


Other related posts: