Yes, it was some time ago. The set is intuitive but memory-oriented. Not much different from the 8051/52 micro-controllers that were popular until the ARM recently usurped the stage. Come to think of it, I now remember that the 6502 was usually clocked at only 1MHz, so it would not be hard at all to approach cycle-exact. I might just talk myself into finishing that project.
When did Python get pointers??
Well, I suppose that one could describe it like so...
PHP Code:
>>> a = ['the', 'cow', 'jumped', 'over']
>>> x = 2
>>> a[x]
'jumped'
Here, 'x' is an index into a list, but, in a way, it is also a "pointer" to the third element (or seventh character) of that list.
Does that work? Or would that just confuse people??
Bookmarks